]> git.sesse.net Git - stockfish/commitdiff
Remember when TT value equals static evaluation value
authorMarco Costalba <mcostalba@gmail.com>
Mon, 30 Mar 2009 07:54:09 +0000 (08:54 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 30 Mar 2009 07:54:09 +0000 (08:54 +0100)
When the stored TT value equals the static value set a
proper flag so to not call evaluation() if we hit the
same position again but use the stored TT value instead.

This is another trick to avoid calling costly evaluation()
in qsearch.

No functional change.

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

No differences found