[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

@@ -155,7 +155,7 @@ void BuildPopularPlacesFromWikiDump(std::string const & mwmFile, std::string con
PopularPlaces const & GetOrLoadPopularPlaces(std::string const & filename)
{
static std::mutex m;
static std::unordered_map<std::string, PopularPlaces> placesStorage;
static ankerl::unordered_dense::map<std::string, PopularPlaces> placesStorage;
std::lock_guard<std::mutex> lock(m);
auto const it = placesStorage.find(filename);