mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
3182375e06
Box the biggest ast::ItemKind variants This PR is a different approach on https://github.com/rust-lang/rust/pull/81400, aiming to save memory in humongous ASTs. The three affected item kind enums are: - `ast::ItemKind` (208 -> 112 bytes) - `ast::AssocItemKind` (176 -> 72 bytes) - `ast::ForeignItemKind` (176 -> 72 bytes) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |