Why does rustc_serialize use uleb128 to encode all integers? #68779
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Especially for small integers like u16, the memory save is likely very small, while the extra instructions likely result in a slowdown.
rust/src/libserialize/opaque.rs
Lines 73 to 75 in 212b2c7
The text was updated successfully, but these errors were encountered: