top | item 39717889

(no title)

sfeng | 1 year ago

I would love to see this benchmarked against just running LZW compression on a list of the moves. I think the repeated nature of the moves means the entropy is actually rather low. It should be possible to come up with a compression dictionary which can save a lot more space than just a tight packing like this.

discuss

order

kondro|1 year ago

Or a trained zstd dictionary.

sedatk|1 year ago

> the repeated nature of the moves

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.