Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
TwoBit
· 6y ago · 0 comments
So use unordered_map with an allocator that returns nodes from a small local memory?
Comments
[–]
josefx
6y ago
To be useful that would require that the nodes are allocated in the order they appear in the map (and still has pointer overhead). Is that a given with an unordered map or does it break down the moment the map is rehashed?