mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-25 07:13:53 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <unordered_set>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace track_analyzing;
|
||||
@@ -84,7 +85,7 @@ private:
|
||||
}
|
||||
|
||||
shared_ptr<m4::Tree<routing::NumMwmId>> m_mwmTree;
|
||||
unordered_map<routing::NumMwmId, vector<m2::RegionD>> m_borders;
|
||||
ankerl::unordered_dense::map<routing::NumMwmId, vector<m2::RegionD>> m_borders;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
@@ -116,7 +117,7 @@ void LogParser::ParseUserTracks(string const & logFile, UserToTrack & userToTrac
|
||||
MYTHROW(MessageException, ("Can't open file", logFile, "to parse tracks"));
|
||||
|
||||
std::regex const base_regex(R"(.*(DataV0|CurrentData)\s+aloha_id\s*:\s*(\S+)\s+.*\|(\w+)\|)");
|
||||
std::unordered_set<string> usersWithOldVersion;
|
||||
ankerl::unordered_dense::set<string> usersWithOldVersion;
|
||||
uint64_t linesCount = 0;
|
||||
size_t pointsCount = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user