diff options
| author | Piotr Czarnecki <pioczarn@gmail.com> | 2014-06-02 10:26:02 +0200 |
|---|---|---|
| committer | Piotr Czarnecki <pioczarn@gmail.com> | 2014-06-04 19:04:38 +0200 |
| commit | 2202b104d4fd2b96b0e636cd3079d1c41c56bfa7 (patch) | |
| tree | 1950c2b57527f5fd1aaa028ce1b022b265fd282e /src/libstd/str.rs | |
| parent | a6401b52263336c22879d4ffae3eded97949ee7b (diff) | |
| download | rust-2202b104d4fd2b96b0e636cd3079d1c41c56bfa7.tar.gz rust-2202b104d4fd2b96b0e636cd3079d1c41c56bfa7.zip | |
collections: optimize `HashMap`. Add `DefaultResizePolicy`.
Refactored the load factor and the minimum capacity out of HashMap. The size of HashMap<K, V> is now 64 bytes by default on a 64-bit platform (or 48 bytes, that is 2 words less, with FNV) Added a documentation in a few places to clarify the behavior.
Diffstat (limited to 'src/libstd/str.rs')
0 files changed, 0 insertions, 0 deletions
