[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 d3117b9aef
commit 99900fad21
281 changed files with 4381 additions and 1451 deletions

View File

@@ -7,9 +7,10 @@
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "3party/ankerl/unordered_dense.h"
namespace feature
{
class RegionData;
@@ -32,7 +33,7 @@ public:
}
};
using LocalizableString = std::unordered_map<int8_t, std::string>;
using LocalizableString = ankerl::unordered_dense::map<int8_t, std::string>;
using LocalizableStringSubIndex = std::map<int8_t, uint32_t>;
using LocalizableStringIndex = std::vector<LocalizableStringSubIndex>;
using Properties = std::map<std::string, std::string>;