From: kennytm Date: Wed, 27 Jun 2018 22:15:39 +0000 (+0800) Subject: Rollup merge of #51658 - oli-obk:unregress_perf, r=nikomatsakis X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=1ebd9adef4e65deb6f34d99b516c592cb9a06b38;p=rust.git Rollup merge of #51658 - oli-obk:unregress_perf, r=nikomatsakis 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? --- 1ebd9adef4e65deb6f34d99b516c592cb9a06b38