[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 7e561d09d3
commit 0288b97b13
282 changed files with 4385 additions and 1457 deletions

View File

@@ -5,7 +5,8 @@
#include <cstdint>
#include <functional>
#include <unordered_map>
#include "3party/ankerl/unordered_dense.h"
namespace storage
{
@@ -13,7 +14,7 @@ namespace diffs
{
struct LocalMapsInfo final
{
using NameVersionMap = std::unordered_map<storage::CountryId, uint64_t>;
using NameVersionMap = ankerl::unordered_dense::map<storage::CountryId, uint64_t>;
uint64_t m_currentDataVersion = 0;
NameVersionMap m_localMaps;