mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -89,7 +89,7 @@ class MaxspeedsMwmCollector
|
||||
static int constexpr kSpeedsCount = MaxspeedsSerializer::DEFAULT_SPEEDS_COUNT;
|
||||
static int constexpr kOutsideCityIdx = 0;
|
||||
// 0 - outside a city; 1 - inside a city.
|
||||
std::unordered_map<HighwayType, AvgInfo> m_avgSpeeds[kSpeedsCount];
|
||||
ankerl::unordered_dense::map<HighwayType, AvgInfo> m_avgSpeeds[kSpeedsCount];
|
||||
|
||||
base::GeoObjectId GetOsmID(uint32_t fid) const
|
||||
{
|
||||
@@ -212,7 +212,7 @@ public:
|
||||
if (direction)
|
||||
seg = GetOpposite(seg);
|
||||
|
||||
std::unordered_set<uint32_t> reviewed;
|
||||
ankerl::unordered_dense::set<uint32_t> reviewed;
|
||||
do
|
||||
{
|
||||
LOG_MAX_SPEED(("Input seg =", seg));
|
||||
|
||||
Reference in New Issue
Block a user