about summary refs log tree commit diff
path: root/src/libstd/str.rs
diff options
context:
space:
mode:
authorPiotr Czarnecki <pioczarn@gmail.com>2014-06-02 10:26:02 +0200
committerPiotr Czarnecki <pioczarn@gmail.com>2014-06-04 19:04:38 +0200
commit2202b104d4fd2b96b0e636cd3079d1c41c56bfa7 (patch)
tree1950c2b57527f5fd1aaa028ce1b022b265fd282e /src/libstd/str.rs
parenta6401b52263336c22879d4ffae3eded97949ee7b (diff)
downloadrust-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