Open hai-rise opened 1 month ago
TxIdx
BlockSize
u32
TxIncarnation
u16
u8
While the code is easy, it is non-trivial to reason and show that this improves performance, as moving away from usize is not always free.
usize
TxIdx
(=BlockSize
) tou32
.TxIncarnation
tou16
or evenu8
and fall back to sequential execution on overflowing. Overflowing may even be acceptable.While the code is easy, it is non-trivial to reason and show that this improves performance, as moving away from
usize
is not always free.