comparison mercurial/cext/base85.pyi @ 52037:0ea323b7e3b1

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.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 30 Sep 2024 12:08:49 +0200
parents 9367571fea21
children
comparison
equal deleted inserted replaced
52036:d7bc6e482033 52037:0ea323b7e3b1