mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
06f4950cbd
make `PlaceholderConst` not store the type of the const
Currently the `Placeholder` variant on `ConstKind` is 28 bytes when with this PR its 8 bytes, i am not sure this is really useful at all rn since `Unevaluated` and `Value` variants are huge still but eventually it should be possible to get both down to 16 bytes 🤔. Mostly opening this to see if this change has any perf impact when done before it can make `ConstKind`/`ConstS` smaller
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |