about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-09 04:42:27 +0000
committerbors <bors@rust-lang.org>2018-07-09 04:42:27 +0000
commita80a610a4c30b6f5f60862afcb4588d03439f66c (patch)
treebf310e3e568f661dc20086c8b216b0403252cdb5 /src/rustllvm/RustWrapper.cpp
parent960f6046c6d367a48f405dd5c76cc303497edfc5 (diff)
parente529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8 (diff)
downloadrust-a80a610a4c30b6f5f60862afcb4588d03439f66c.tar.gz
rust-a80a610a4c30b6f5f60862afcb4588d03439f66c.zip
Auto merge of #52166 - orlp:master, r=joshtriplett
Performance improvement of Vec's swap_remove.

The old implementation *literally* swapped and then removed, which resulted in unnecessary move instructions. The new implementation does use unsafe code, but is easy to see that it is correct.

Fixes https://github.com/rust-lang/rust/issues/52150.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions