diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-01-09 18:40:00 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-01-09 20:08:44 -0500 |
| commit | 5e8f67bbc9017cc02338e959ca49f5355ff22f07 (patch) | |
| tree | 7e72bf7147157b30d2bb405e181524edd40f9d56 /library/std/src/sys/unix/env.rs | |
| parent | 190f4c96116a3b59b7de4881cfec544be0246d84 (diff) | |
| download | rust-5e8f67bbc9017cc02338e959ca49f5355ff22f07.tar.gz rust-5e8f67bbc9017cc02338e959ca49f5355ff22f07.zip | |
u8 tags for smaller enums
100% of the serialized enums during libcore compilation fit into the smaller tag, and this eliminates hitting the leb128 code for coding/decoding when we can statically guarantee that's not required. 30% of all leb128 integers serialized in libcore (12981183 total) come from the usize's removed here.
Diffstat (limited to 'library/std/src/sys/unix/env.rs')
0 files changed, 0 insertions, 0 deletions
