mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 12:34:24 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a60efa9b43
commit
969e1ef2da
@@ -3,12 +3,13 @@
|
||||
#include "base/geo_object_id.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace generator
|
||||
{
|
||||
using PopularityIndex = uint8_t;
|
||||
using PopularPlaces = std::unordered_map<base::GeoObjectId, PopularityIndex>;
|
||||
using PopularPlaces = ankerl::unordered_dense::map<base::GeoObjectId, PopularityIndex>;
|
||||
|
||||
void LoadPopularPlaces(std::string const & srcFilename, PopularPlaces & places);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user