]> git.lizzy.rs Git - rust.git/commit
Avoid unnecessary mk_ty calls in Ty::super_fold_with.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 11 Nov 2016 04:56:58 +0000 (15:56 +1100)
committerNicholas Nethercote <nnethercote@mozilla.com>
Fri, 11 Nov 2016 04:56:58 +0000 (15:56 +1100)
commit11c1126688bab32f76dbe1a973906c7586da143f
tree23c80a0fde9aeed8058637a165aababaf8d4a5e6
parentda2ce2276873242a101f205537e7ce297d68f8dd
Avoid unnecessary mk_ty calls in Ty::super_fold_with.

This speeds up compilation of several rustc-benchmarks by 1--2% and the
workload in #36799 by 5%.
src/librustc/ty/structural_impls.rs