rust/compiler/rustc_save_analysis/src
Nicholas Nethercote f07d4efc45 Shrink hir::def::Res.
`Res::SelfTy` currently has two `Option`s. When the second one is `Some`
the first one is never consulted. So we can split it into two variants,
`Res::SelfTyParam` and `Res::SelfTyAlias`, reducing the size of `Res`
from 24 bytes to 12. This then shrinks `hir::Path` and
`hir::PathSegment`, which are the HIR types that take up the most space.
2022-09-29 08:44:52 +10:00
..
dump_visitor.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
dumper.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
errors.rs UPDATE - rename DiagnosticHandler macro to Diagnostic 2022-09-21 11:39:53 -04:00
lib.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
sig.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
span_utils.rs Include (potentially remapped) working dir in crate hash 2021-08-15 15:17:37 -05:00