rust/src/librustc_mir/hair
bors 91dbf52af3 Auto merge of #44809 - arielb1:small-scope, r=eddyb
encode region::Scope using fewer bytes

Now that region::Scope is no longer interned, its size is more important. This PR encodes region::Scope in 8 bytes instead of 12, which should speed up region inference somewhat (perf testing needed) and should improve the margins on #36799 by 64MB (that's not a lot, I did this PR mostly to speed up region inference).

This is a perf-sensitive PR. Please don't roll me up.

r? @eddyb

This is based on  #44743 so I could get more accurate measurements on #36799.
2017-09-25 12:52:02 +00:00
..
cx Auto merge of #44809 - arielb1:small-scope, r=eddyb 2017-09-25 12:52:02 +00:00
mod.rs move unsafety checking to MIR 2017-09-24 12:46:00 +03:00