diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-05-11 12:26:59 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-05-12 12:37:22 +1000 |
| commit | f420726566587862ef4da9153fbc2800ed444033 (patch) | |
| tree | 2b0b3e3167f6f62312027e080085826716673173 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a3cc435f5755f5550d4235779de58b53a22f0f1e (diff) | |
| download | rust-f420726566587862ef4da9153fbc2800ed444033.tar.gz rust-f420726566587862ef4da9153fbc2800ed444033.zip | |
Remove `RawVec::double`.
It's only used once, for `VecDeque`, and can easily be replaced by something else. The commit changes `grow_if_necessary` to `grow` to avoid some small regressions caused by changed inlining. The commit also removes `Strategy::Double`, and streamlines the remaining variants of `Strategy`. It's a compile time win on some benchmarks because the many instantations of `RawVec::grow` are a little smaller.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
