Y
Hacker News
new
|
ask
|
show
|
jobs
by
maxlybbert
3028 days ago
On top of the performance guarantees, the API explicitly mentions buckets (e.g.,
http://en.cppreference.com/w/cpp/container/unordered_map/max...
,
http://en.cppreference.com/w/cpp/container/unordered_map/buc...
).
1 comments
stochastic_monk
3027 days ago
Well, even khash uses buckets. It’s just that you skip over your “correct” bucket for insertion if it’s full when using open addressing.
link