This commit is contained in:
Siarhei Fedartsou 2024-06-12 09:21:20 +02:00
parent 49f07cbb8e
commit f4ce1dc8f6

View File

@ -6,6 +6,7 @@
#include <algorithm> #include <algorithm>
#include <ankerl/unordered_dense.h> #include <ankerl/unordered_dense.h>
#include <boost/unordered_map.hpp>
#include <cstdint> #include <cstdint>
#include <limits> #include <limits>
#include <map> #include <map>
@ -68,7 +69,8 @@ template <typename NodeID, typename Key> class UnorderedMapStorage
private: private:
#ifdef USE_ANKERL #ifdef USE_ANKERL
ankerl::unordered_dense::segmented_map<NodeID, Key> nodes; boost::unordered_map<NodeID, Key> nodes;
// ankerl::unordered_dense::segmented_map<NodeID, Key> nodes;
// ankerl::unordered_dense::map<NodeID, Key> nodes; // ankerl::unordered_dense::map<NodeID, Key> nodes;
#else #else
std::unordered_map<NodeID, Key> nodes; std::unordered_map<NodeID, Key> nodes;