summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2016-02-16 18:20:35 -0500
committerAndrew Paseltiner <apaseltiner@gmail.com>2016-02-16 18:40:10 -0500
commitf890772383c900f9a409a4105df13b6630ebb1f5 (patch)
tree6ded921b2ac737d72e8900e7d451b4f7a0780c69 /src/libstd/sys/unix/stack_overflow.rs
parent9658645407c784105bb361297d5316cadc9ff2bd (diff)
downloadrust-f890772383c900f9a409a4105df13b6630ebb1f5.tar.gz
rust-f890772383c900f9a409a4105df13b6630ebb1f5.zip
Avoid iteration when dropping `HashMap`s whose items don't need dropping
This changes the performance of `drop` from linear to constant time for
such `HashMap`s.

Closes #31711.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions