##// END OF EJS Templates
rust-manifest: encode flags as `Option<NonZeroU8>`...
rust-manifest: encode flags as `Option<NonZeroU8>` This makes the compiler use the niche optimization for all flags: since 0 is not a valid representation of any flags, we can use 0 as a replacement for `None`, which reduces memory footprint and could yield a little performance improvement over many iterations.
Raphaël Gomès -
r52930:0ea323b7 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core
examples
src
tests
Cargo.toml Loading ...