rust/src/libcollections
bors d70a9b93d0 auto merge of #14526 : pczarn/rust/hashmap-opt, r=alexcrichton
An interface that gives a better control over the load factor and the minimum capacity for HashMap.
The size of `HashMap<K, V>` is now 64 bytes by default on a 64-bit platform (or at least 40 bytes, that is 3 words less, with FNV and without minimum capacity)

Unanswered questions about `ResizePolicy`

* should it control the `INITIAL_CAPACITY`?
* should it fully control the resizing behavior? Even though the capacity always changes by a factor of 2.
* is caching `grow_at` desirable?

special thanks to @eddyb and @pnkfelix
2014-06-05 11:06:53 -07:00
..
2014-06-01 10:31:27 -07:00
2014-05-29 16:18:26 -07:00
2014-06-01 10:31:27 -07:00
2014-06-01 10:31:27 -07:00
2014-05-29 16:18:26 -07:00
2014-06-04 16:40:30 +02:00
2014-06-01 10:31:27 -07:00
2014-05-29 16:18:26 -07:00