by sfeng · 2y ago · 0 comments
Huffman (and even more so arithmetic encoding or ANS (asymmetric numeral systems [0]) would be significantly better, if you're careful how you encode data.
[0]: https://en.wikipedia.org/wiki/Asymmetric_numeral_systems
On a single game? I don’t think the goal is to pack all plays together and unpack them every time. Every game must be individually accessible as I understand.