]> git.lizzy.rs Git - rust.git/commit
auto merge of #19549 : huonw/rust/middle-ty-2, r=nikomatsakis
authorbors <bors@rust-lang.org>
Mon, 29 Dec 2014 13:32:19 +0000 (13:32 +0000)
committerbors <bors@rust-lang.org>
Mon, 29 Dec 2014 13:32:19 +0000 (13:32 +0000)
commit3dcc409fac18a258ba2a8af4345d9566ec8eebad
tree140cd42aa68752ae7760bf9f2765bf1ff8835189
parent25fb12b8a5411901675ede6b147bbc6c0b7437b7
parent91db254c81f3c90d5d9d8b5db2660a918efef8bb
auto merge of #19549 : huonw/rust/middle-ty-2, r=nikomatsakis

This takes building `librustc/lib.rs` from using 696 MB to 588 (`rustc --no-trans`), and 1.99 GB to 1.87 (`rustc -O`). It also reduces `sty` down to 32 bytes on platforms with 64-bit pointers, at the expense of some more side-tables in `ctxt`. I'm sure there's more gains to be had from reducing the size of the side tables (e.g. by making the actual things they're storing smaller).

r? @nikomatsakis