]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #25703 - eddyb:lazier-loads, r=pnkfelix
authorOliver Schneider <github6541940@oli-obk.de>
Sat, 23 May 2015 17:03:19 +0000 (19:03 +0200)
committerOliver Schneider <github6541940@oli-obk.de>
Sat, 23 May 2015 17:03:19 +0000 (19:03 +0200)
commit9aa88c99f73b872d7737e0027216b742e6dc705b
treef2ca130d9333d7c715a1f97df35c3c5bae35faa6
parentd21f41ce6b28cb7a96cbbaa6b5f7373853a1ef78
parent5dc03a8246e76e9e3900d98f2f5d2574abaeaa6b
Rollup merge of #25703 - eddyb:lazier-loads, r=pnkfelix

Reduces pre-trans heap baseline (tested on `fn main() {}`) from 1.2MB to 696kB.
Most of the remaining allocations are used by imported macros.
While it might be possible to also load macros lazily, doing so is non-trivial and this PR doesn't tackle that.