]> git.lizzy.rs Git - rust.git/commit
rustc: Switch ty::node_type_table to smallintmap, cut 400mb memory use off a librustc...
authorGraydon Hoare <graydon@mozilla.com>
Tue, 28 May 2013 02:47:40 +0000 (19:47 -0700)
committerGraydon Hoare <graydon@mozilla.com>
Tue, 28 May 2013 02:50:49 +0000 (19:50 -0700)
commit3c4ce7951868efb17ab02dcd452d969f8eb1bb12
treee8f38db76bdab63206903400d1267eccb0da6f5a
parent2061ce9affd01d2dfb3d1e5836cfda4006ea8290
rustc: Switch ty::node_type_table to smallintmap, cut 400mb memory use off a librustc build.

Smallintmap was being populated with sparse keys during ast deserialization.
src/librustc/middle/ty.rs