about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-05-11 12:26:59 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-05-12 12:37:22 +1000
commitf420726566587862ef4da9153fbc2800ed444033 (patch)
tree2b0b3e3167f6f62312027e080085826716673173 /src/libstd/sys/unix/stack_overflow.rs
parenta3cc435f5755f5550d4235779de58b53a22f0f1e (diff)
downloadrust-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