]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #67808 - Marwes:projection_normalization_recurse, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 5 Jan 2020 01:18:57 +0000 (01:18 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Jan 2020 01:18:57 +0000 (01:18 +0000)
perf: Don't recurse into types that do not need normalizing

A bit speculative at this stage but profiling shows that type folding
takes up a substantial amount of time during normalization which may
indicate that many types may be folded despite there being nothing to
normalize

1  2 
src/librustc/traits/project.rs

Simple merge