about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-23 19:39:40 +0000
committerbors <bors@rust-lang.org>2015-04-23 19:39:40 +0000
commit24e4e60ae8579d674c1eebb0298ee61471ddb6e6 (patch)
tree740bc17e709da1239bb8a3054fb9b62c5560c187 /src/rustllvm/RustWrapper.cpp
parent69e47c77b257360ec64e714eb97abf6c51475f27 (diff)
parent94a1b266f9b3688d8fb6ff382e7b846a8d4eb38d (diff)
downloadrust-24e4e60ae8579d674c1eebb0298ee61471ddb6e6.tar.gz
rust-24e4e60ae8579d674c1eebb0298ee61471ddb6e6.zip
Auto merge of #24615 - arielb1:rapid-reject, r=nikomatsakis
skolemize_late_bound_regions essentially copies the entire type (most of the times it shouldn't, but it does), and match_impl runs millions of times.

Times compiling rustc, tested with
$ make -j4 rustc-stage1
$ ( time RUSTFLAGS=-Z time-passes make -j4 rustc-stage2 ) # need LLVM time for calibration

Before:
real	21m44.960s
user	29m38.812s
sys	0m14.944s

After:
real	19m31.445s
user	26m47.260s
sys	0m14.952s

Making this is a 10% performance improvement.

LLVM passes took 867 seconds before, 862 seconds after.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions