about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/overflow/recursive-self-normalization.stderr
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-11 13:11:57 +0000
committerbors <bors@rust-lang.org>2024-01-11 13:11:57 +0000
commit68acb393c5d2cff049b41981e35217a7e630f63a (patch)
tree514dbef9094cf2af59239686db5756ba4dcfe779 /tests/ui/traits/next-solver/overflow/recursive-self-normalization.stderr
parentd73bd3fb3ba312f3e6b5af4d56d1161d37b71620 (diff)
parent1d2005be71431f9a870fd347516ff2317c1d37a3 (diff)
downloadrust-68acb393c5d2cff049b41981e35217a7e630f63a.tar.gz
rust-68acb393c5d2cff049b41981e35217a7e630f63a.zip
Auto merge of #119791 - Mark-Simulacrum:cut-leb128, r=cjgillot
Remove a large amount of leb128-coded integers

This removes ~41%[^1] of the leb128-encoded integers serialized during libcore compilation by changing enum tags to opportunistically use `u8` where feasible instead of the leb128 coding via `usize`.

This should have effectively zero impact on metadata file sizes, since almost all or all enum tags fit into the 7 bits available in leb128 for single-byte encodings. Perf results indicate this is basically neutral across the board except for an improvement in bootstrap time.

[^1]: More than half the remaining integers still fit into <= 128, so the leb128 coding still makes sense. 32% are zero, and 46% are <= 4.
Diffstat (limited to 'tests/ui/traits/next-solver/overflow/recursive-self-normalization.stderr')
0 files changed, 0 insertions, 0 deletions