@latticexyz/protocol-parser@2.0.0-next.3
Pre-release
Pre-release
github-actions
released this
21 Aug 11:49
·
1167 commits
to main
since this release
Major Changes
-
#1231
433078c5
Thanks @dk1a! - Reverse PackedCounter encoding, to optimize gas for bitshifts.
Ints are right-aligned, shifting using an index is straightforward if they are indexed right-to-left.- Previous encoding: (7 bytes | accumulator),(5 bytes | counter 1),...,(5 bytes | counter 5)
- New encoding: (5 bytes | counter 5),...,(5 bytes | counter 1),(7 bytes | accumulator)