about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2016-10-13 23:39:50 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2016-10-14 00:19:19 +0300
commita61d85b2fe5ebc25bcc54c7a9e6ce3b98ce00b7c (patch)
tree995b2540d5c052c0f2d5dd772c6d6fbd524a6ad3 /src/liballoc_system
parentd34318dd538bf4c9175e4138b3e4188ea8211620 (diff)
downloadrust-a61d85b2fe5ebc25bcc54c7a9e6ce3b98ce00b7c.tar.gz
rust-a61d85b2fe5ebc25bcc54c7a9e6ce3b98ce00b7c.zip
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.

I'm running a check that there are no adverse performance effects.

Fixes #37106 (drop elaboration times are now ~half of borrow checking,
so might still be worthy of optimization, but not critical).
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions