mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user