Re:How to store a chess position in 26 bytes using bit-level...
by bonzini on Friday January 09, 2026 @05:52PM
(#46560555)
It also can encode chess960 positions. With the article's encoding, uncastled rooks can only be decoded if their starting position is known, which it isn't in chess960.
Re:How to store a chess position in 26 bytes using bit-level...
by datsci_est_2015 on Saturday January 10, 2026 @09:52AM
(#46566176)
It’s mathematically dissatisfying, but often the most optimal storage (or algorithm) solutions involve clever heuristics that are dynamically applied.
Some systems just have to be observed in order for solutions to be optimally designed around how they actually behave, rather than how they theoretically behave.
0: https://lichess.org/@/revoof/blog/adapting-nnue-pytorchs-bin...