compression
compression copied to clipboard
Optimize compression of common opening moves
Implemented an additional optimization for compressing common opening moves.
The algorithm works by mapping common openings to integers. Then a game is prefix matched to find the longest common opening present in the mapping.