diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-02-16 18:20:35 -0500 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-02-16 18:40:10 -0500 |
| commit | f890772383c900f9a409a4105df13b6630ebb1f5 (patch) | |
| tree | 6ded921b2ac737d72e8900e7d451b4f7a0780c69 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 9658645407c784105bb361297d5316cadc9ff2bd (diff) | |
| download | rust-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
