]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #51658 - oli-obk:unregress_perf, r=nikomatsakis
authorkennytm <kennytm@gmail.com>
Wed, 27 Jun 2018 22:15:39 +0000 (06:15 +0800)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 22:15:39 +0000 (06:15 +0800)
Only do sanity check with debug assertions on

r? @nnethercote

I'm slighty confused. These changes address code that the `unused-warnings` benchmark doesn't go through, yet I see a 5% improvement to nightly on the `check` run, and no improvement on the other runs.

Maybe this change allows unrelated code in the same function to be better optimized?


Trivial merge