about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-12-19 13:23:37 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-12-19 14:00:44 +1100
commit81632513c13495fd269082d35916ebcd91d15658 (patch)
tree3115d8965dcb8baca15748a7839c07868677da07 /src/rustllvm/RustWrapper.cpp
parentb6933f8d8b86f78ac7b5f70f0781d794144763a0 (diff)
downloadrust-81632513c13495fd269082d35916ebcd91d15658.tar.gz
rust-81632513c13495fd269082d35916ebcd91d15658.zip
std::vec: replace .insert with a small amount of unsafe code.
This makes the included benchmark more than 3 times faster. Also,
`.unshift(x)` is now faster as `.insert(0, x)` which can reuse the
allocation if necessary.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions