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)
|
explicit UnorderedMapStorage(std::size_t)
|
||||||
{
|
{
|
||||||
#ifdef USE_ANKERL
|
#ifdef USE_ANKERL
|
||||||
nodes.rehash(2000);
|
nodes.rehash(1000);
|
||||||
#else
|
#else
|
||||||
nodes.rehash(1000);
|
nodes.rehash(1000);
|
||||||
#endif
|
#endif
|
||||||
@ -68,7 +68,8 @@ template <typename NodeID, typename Key> class UnorderedMapStorage
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
#ifdef USE_ANKERL
|
#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
|
#else
|
||||||
std::unordered_map<NodeID, Key> nodes;
|
std::unordered_map<NodeID, Key> nodes;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user