Cuckoo hashing for repetition detection... no gain?

Discussion of chess software programming and technical issues.

Moderator: Ras

chessbit
Posts: 50
Joined: Fri Dec 29, 2023 4:47 pm
Location: Belgium
Full name: thomas huijbregts

Cuckoo hashing for repetition detection... no gain?

Post by chessbit »

Hi,

I have just implemented the cuckoo algorithm to detect a repeated position before making the move. On paper, it sounds like a clear win. But after several thousand games of selfplay, I come to a perfect draw against the version without it. So maybe I just have a bug that I did not see (though I know the detection is triggered).
Did anyone here have success with it? How much elo do you estimate to have gained?

Regards,
Thomas
https://github.com/thomashuijbregts

chessbit - fast CPU perft engine
Crownd - strong UCI engine with NNUE evaluation