rust/compiler
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
..
2025-02-25 18:17:32 +01:00
2025-02-28 09:36:18 +11:00
2025-02-25 17:27:22 +00:00
2025-02-24 14:31:19 +01:00
2025-02-23 23:11:00 +07:00