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 13:17:28 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-05-12 12:38:14 +1000
commit68b75033ad78d88872450a81745cacfc11e58178 (patch)
tree1500e771f8d43bbf17a25a18d2fd9d9d606faf11 /src/libstd/sys/unix/stack_overflow.rs
parentf420726566587862ef4da9153fbc2800ed444033 (diff)
downloadrust-68b75033ad78d88872450a81745cacfc11e58178.tar.gz
rust-68b75033ad78d88872450a81745cacfc11e58178.zip
Split `RawVec::grow` up.
The amortized case is much more common than the exact case, and it is
typically instantiated many times.

Also, we can put a chunk of the code into a function that isn't generic
over T, which reduces the amount of LLVM IR generated quite a lot,
improving compile times.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions