diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-10-13 23:39:50 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-10-14 00:19:19 +0300 |
| commit | a61d85b2fe5ebc25bcc54c7a9e6ce3b98ce00b7c (patch) | |
| tree | 995b2540d5c052c0f2d5dd772c6d6fbd524a6ad3 /src/liballoc_system | |
| parent | d34318dd538bf4c9175e4138b3e4188ea8211620 (diff) | |
| download | rust-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
