logoalt Hacker News

mlylelast Friday at 8:40 PM1 replyview on HN

I can put it all in, say, 24 bits, if my database is small. 140k games, 120 positions each. log(140000*120)/log(2) ~~ 24.001, and surely there will be some duplication.

The encoding is just the index number of the game + move that resulted in that position.


Replies

pklauslerlast Friday at 9:30 PM

The duplication is the problem if you want to use positions as DB keys.