diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-03-02 17:54:43 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-03-02 18:05:41 +0100 |
| commit | 7ceafaee4f3d8ed2268b1659dd99a541d71689a3 (patch) | |
| tree | 65266bd844ac98acd2dc59b2cdb8b9666be1c1a4 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 1da364e98f46c828e5746be299b58b995e5f5007 (diff) | |
| download | rust-7ceafaee4f3d8ed2268b1659dd99a541d71689a3.tar.gz rust-7ceafaee4f3d8ed2268b1659dd99a541d71689a3.zip | |
Use ptr::drop_in_place in VecDeque::drop
Just like for Vec. This should benefit both non-optimized and optimized performance. Non-optimized since the intrinsic drop_in_place is easily removed, and optimized because iterating the slices is more efficient than using the VecDeque iterators.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
