]> git.lizzy.rs Git - rust.git/commit
make trait matching smarter with projections
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>
Mon, 17 Aug 2015 17:26:22 +0000 (20:26 +0300)
committerAriel Ben-Yehuda <arielb1@mail.tau.ac.il>
Mon, 17 Aug 2015 18:53:44 +0000 (21:53 +0300)
commit9b75a2bcd10918a8cde91962a1998615123a401e
tree3c3ee991f9d43135d8b16173f82a043eaa162b25
parenta49d9bab1e79d44321e6a8e1a8cb81a4ffa6bad9
make trait matching smarter with projections

also, use the right caching logic for type_moves_by_default (this was
broken by @jroesch).

before:
593.10user 5.21system 7:51.41elapsed 126%CPU (0avgtext+0avgdata 1150016maxresident)k
llvm: 427.045

after:
577.76user 4.27system 7:36.13elapsed 127%CPU (0avgtext+0avgdata 1141608maxresident)k
llvm: 431.001
src/librustc/middle/fast_reject.rs
src/librustc/middle/infer/mod.rs
src/librustc/middle/ty.rs