about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-20 12:39:00 -0700
committerbors <bors@rust-lang.org>2016-05-20 12:39:00 -0700
commit179539f6eb61f75244a0dde641b6e4e09c0921ec (patch)
tree088a911b82f99863d82a394d8fa5f67025de89c7 /src/libstd/sync
parent0352866da7098bdcc868fbc37246b48778ecf74a (diff)
parenteaeef3db0ea9bc100f4c17d708b55a29477ac634 (diff)
downloadrust-179539f6eb61f75244a0dde641b6e4e09c0921ec.tar.gz
rust-179539f6eb61f75244a0dde641b6e4e09c0921ec.zip
Auto merge of #33318 - alexcrichton:hashmap-seed, r=aturon
std: Cache HashMap keys in TLS

This is a rebase and extension of #31356 where we not only cache the keys in
thread local storage but we also bump each key every time a new `HashMap` is
created. This should give us a nice speed bost in creating hash maps along with
retaining the property that all maps have a nondeterministic iteration order.

Closes #27243
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions