about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2018-11-08 18:15:08 -0700
committerGitHub <noreply@github.com>2018-11-08 18:15:08 -0700
commit660340e4aab52f13287cc8cb4a0cc2279ecc3647 (patch)
treeb2a80014fa6f7c16917acad814a200d7f5750d7a /src/rustllvm/RustWrapper.cpp
parent7864780f9edf9c4fa241b0d8136d600e5af5794e (diff)
parente3390d89ea7a58a35d3aca62247e2a5d3c327181 (diff)
downloadrust-660340e4aab52f13287cc8cb4a0cc2279ecc3647.tar.gz
rust-660340e4aab52f13287cc8cb4a0cc2279ecc3647.zip
Rollup merge of #55755 - ljedrz:a_few_indexvec_tweaks, r=varkor
Improve creation of 3 IndexVecs

- preallocate when the minimal size is known
- use `from_elem_n` instead of `new`+`resize`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions