[core] Switch to ankerl::unordered_dense

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-24 17:34:56 +00:00
parent 03132c6877
commit ef6522ed28
282 changed files with 4386 additions and 1456 deletions

View File

@@ -8,7 +8,8 @@
#include "base/stl_helpers.hpp"
#include <deque>
#include <unordered_map>
#include "3party/ankerl/unordered_dense.h"
namespace search
{
@@ -19,7 +20,7 @@ FeaturesLayerPathFinder::Mode FeaturesLayerPathFinder::m_mode = MODE_AUTO;
namespace
{
using ParentGraph = deque<unordered_map<uint32_t, uint32_t>>;
using ParentGraph = deque<ankerl::unordered_dense::map<uint32_t, uint32_t>>;
// This function tries to estimate amount of work needed to perform an
// intersection pass on a sequence of layers.