rust/src/librustc_typeck
bors 98a3502da1 Auto merge of #37152 - arielb1:drop-cache, r=pnkfelix
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
2016-10-15 15:38:52 -07:00
..
check Auto merge of #37152 - arielb1:drop-cache, r=pnkfelix 2016-10-15 15:38:52 -07:00
coherence run rustfmt on typecheck/coherence folder 2016-09-26 07:56:44 +05:30
variance Rollup merge of #36726 - cbreeden:patch-1, r=GuillaumeGomez 2016-10-06 08:35:41 -07:00
astconv.rs Auto merge of #37100 - dikaiosune:master, r=eddyb 2016-10-15 06:08:55 -07:00
Cargo.toml
check_unused.rs
collect.rs Eliminate ty::VariantKind in favor of def::CtorKind 2016-10-04 22:22:36 +03:00
constrained_type_params.rs
diagnostics.rs Add E0513 error explanation 2016-09-26 20:51:56 +02:00
lib.rs Stabilise ? 2016-10-12 08:40:22 +13:00
rscope.rs fix feature error, test fallout 2016-09-08 22:59:21 +02:00