]> git.sesse.net Git - stockfish/commitdiff
Refresh TT entry after a cut-off to avoid aging
authorMarco Costalba <mcostalba@gmail.com>
Thu, 29 Apr 2010 17:21:48 +0000 (18:21 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 1 May 2010 04:09:55 +0000 (05:09 +0100)
Re-save the same TT entry if value is usable and allow
us to cut-off, it means that entry is valuable and
we want to keep it fresh updating the 'generation'
parameter up to the current value.

Patch suggested by J. Wesley Cleveland and better
clarified by Miguel A. Ballicora.

After 999 games at 1+0 64MB hash size
Mod vs Orig +167 =677 -155 +4 ELO

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found