You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use unordered_map quite a bit internally. This can have performance issues if the hash table grows large. We may want to replace those uses with a faster associative container that would have better performance and/or a smaller memory footprint.
Describe the enhancement requested
We use
unordered_map
quite a bit internally. This can have performance issues if the hash table grows large. We may want to replace those uses with a faster associative container that would have better performance and/or a smaller memory footprint.This pages gives useful pointers: https://martin.ankerl.com/2022/08/27/hashmap-bench-01/
Caveats:
unordered_map
in public APIs with a non-standard container typeFrom the looks of it, https://github.com/martinus/unordered_dense might be a good candidate.
Related: #25111
Component(s)
C++
The text was updated successfully, but these errors were encountered: