diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-14 16:14:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-14 16:14:32 +0800 |
| commit | 3715f1e490e187c3635ef241104bd5abe119958b (patch) | |
| tree | e675da0a97f32d6a5f554b838b9b00bfb3be689f /src/rustllvm/RustWrapper.cpp | |
| parent | a5c3209374261b2589e7be4d19953fd14f268ccc (diff) | |
| parent | fbad3b2468f46c14d0fd1283aa4935b3d79f007b (diff) | |
| download | rust-3715f1e490e187c3635ef241104bd5abe119958b.tar.gz rust-3715f1e490e187c3635ef241104bd5abe119958b.zip | |
Rollup merge of #48065 - Xaeroxe:patch-1, r=alexcrichton
Apply optimization from #44355 to retain As discussed in #44355 this PR applies a similar optimization to `Vec::retain`. For `drain_filter`, a very similar function, this improved performance by up to 20%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
