]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #41485 - arielb1:dtorck-constraint, r=eddyb
authorbors <bors@rust-lang.org>
Sun, 23 Apr 2017 20:11:50 +0000 (20:11 +0000)
committerbors <bors@rust-lang.org>
Sun, 23 Apr 2017 20:11:50 +0000 (20:11 +0000)
cache dtorck constraints on ADTs

This avoids visiting the fields of all structs multiple times, improving item-bodies checking time by 10% (!).

Not sure whether we want this in 1.18 or 1.19. It's a big-ish patch, but the 10% win is very tempting.

r? @eddyb


Trivial merge