diff options
| author | bors <bors@rust-lang.org> | 2014-05-31 07:56:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-31 07:56:39 -0700 |
| commit | 2f221c766b10867a30d799d0899125b2dcccb872 (patch) | |
| tree | f0cad347ce5b9bc8d461fc2eb94949e4ee4c3a9d /src/rustllvm/RustWrapper.cpp | |
| parent | 0839e940a517fcf6cf8124b22399e75c31703e2c (diff) | |
| parent | cd844c5fb54913bced99a046230e9af7b3704c9e (diff) | |
| download | rust-2f221c766b10867a30d799d0899125b2dcccb872.tar.gz rust-2f221c766b10867a30d799d0899125b2dcccb872.zip | |
auto merge of #14563 : dotdash/rust/clone_kill, r=huonw
By dropping the intermediate vector that holds the relevant candidates including duplicates and directly building the vector that has the duplicates removed we can eliminate quite a few allocations. This reduces the times for type checking by 5-10% (measured with libstd, libsyntax and librustc).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
