98a3502da1
add a per-param-env cache to `impls_bound` There used to be only a global cache, which led to uncached calls to trait selection when there were type parameters. This causes a 20% decrease in borrow-checking time and an overall 0.5% performance increase during bootstrapping (as borrow-checking tends to be a tiny part of compilation time). Fixes #37106 (drop elaboration times are now ~half of borrow checking, so might still be worthy of optimization, but not critical). r? @pnkfelix |
||
---|---|---|
.. | ||
check | ||
coherence | ||
variance | ||
astconv.rs | ||
Cargo.toml | ||
check_unused.rs | ||
collect.rs | ||
constrained_type_params.rs | ||
diagnostics.rs | ||
lib.rs | ||
rscope.rs |