diff options
| author | bors <bors@rust-lang.org> | 2018-07-09 04:42:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-09 04:42:27 +0000 |
| commit | a80a610a4c30b6f5f60862afcb4588d03439f66c (patch) | |
| tree | bf310e3e568f661dc20086c8b216b0403252cdb5 /src/rustllvm/RustWrapper.cpp | |
| parent | 960f6046c6d367a48f405dd5c76cc303497edfc5 (diff) | |
| parent | e529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8 (diff) | |
| download | rust-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
