Closed
Description
When we have to allocate a new table, we want to continue with factor-of-two resizing when possible. Unfortunately, hashbrown::RawTable::with_capacity
(I think) allocates more or less the capacity we give it, rather than rounding up. So, we resort to this workaround:
Lines 746 to 749 in c68eb4c
It'd be nice to get rid of that. Benchmarks may tell us that with_capacity
works just fine..