rust/compiler/rustc_borrowck
Nicholas Nethercote 9a0513ad71 Optimize Trace.
`Trace::FromOutlivesConstraint` contains an `OutlivesConstraint`, which
is 72 bytes. Lots of these are created but never used.

This commit splits `Trace::FromOutlivesConstraint` into three new
variants: `FromVanilla`, `FromStatic`, `FromMember`. Each of these
contains just enough data to construct an `OutlivesConstraint`, if
necessary. This reduces the size of `Trace` from 72 bytes to 16 bytes.
All this avoids some memory traffic.
2025-02-28 09:36:18 +11:00
..
src Optimize Trace. 2025-02-28 09:36:18 +11:00
Cargo.toml Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
messages.ftl Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00