]> git.sesse.net Git - stockfish/commit
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)
commit6a8e46d53efca6dd56a396b32f43bef9f95127d6
treeec450bddad7157c2b28dc843a234015a96676279
parentc6c4713ab2fb19e542b13df3b48bd14313bc5ad7
Remember when TT value equals static evaluation value

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>
src/search.cpp
src/tt.cpp
src/tt.h