about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-13 17:15:55 -0700
committerbors <bors@rust-lang.org>2013-04-13 17:15:55 -0700
commit8c2e5cceee6603030a1a96f92be3676d388562e3 (patch)
tree80d0e2dee0a4c530c4580431c5ae62bd592c1e14 /src/rustllvm/RustWrapper.cpp
parent04cc83614dd81cb4214ef0e7157471d561a8ee15 (diff)
parenta26d9db95f2ff13030bb4a7fdd380165bf8abfc1 (diff)
downloadrust-8c2e5cceee6603030a1a96f92be3676d388562e3.tar.gz
rust-8c2e5cceee6603030a1a96f92be3676d388562e3.zip
auto merge of #5867 : dotdash/rust/reduce_reallocs, r=graydon
The foldl based implementation allocates lots of unneeded vectors.
iter::map_to_vec is already optimized to avoid these.

One place that benefits quite a lot from this is the metadata decoder, helping with compile times for tiny programs.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions