wip
This commit is contained in:
parent
68d5dbc919
commit
49f07cbb8e
@ -40,7 +40,7 @@ template <typename NodeID, typename Key> class UnorderedMapStorage
|
||||
explicit UnorderedMapStorage(std::size_t)
|
||||
{
|
||||
#ifdef USE_ANKERL
|
||||
nodes.rehash(2000);
|
||||
nodes.rehash(1000);
|
||||
#else
|
||||
nodes.rehash(1000);
|
||||
#endif
|
||||
@ -68,7 +68,8 @@ template <typename NodeID, typename Key> class UnorderedMapStorage
|
||||
|
||||
private:
|
||||
#ifdef USE_ANKERL
|
||||
ankerl::unordered_dense::map<NodeID, Key> nodes;
|
||||
ankerl::unordered_dense::segmented_map<NodeID, Key> nodes;
|
||||
// ankerl::unordered_dense::map<NodeID, Key> nodes;
|
||||
#else
|
||||
std::unordered_map<NodeID, Key> nodes;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user