diff options
| author | bors <bors@rust-lang.org> | 2014-06-05 11:06:53 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-05 11:06:53 -0700 |
| commit | d70a9b93d0dee15325cba1a6e29cbfc7ca483ef4 (patch) | |
| tree | fc0b8a1b3059dbe25d0098181c7f80ec528e8d99 /src/libstd/str.rs | |
| parent | 57e7147f3ef69ea7b5dd7eb1e3f621f0938672cc (diff) | |
| parent | 2202b104d4fd2b96b0e636cd3079d1c41c56bfa7 (diff) | |
| download | rust-d70a9b93d0dee15325cba1a6e29cbfc7ca483ef4.tar.gz rust-d70a9b93d0dee15325cba1a6e29cbfc7ca483ef4.zip | |
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
Diffstat (limited to 'src/libstd/str.rs')
0 files changed, 0 insertions, 0 deletions
