]> git.sesse.net Git - stockfish/commitdiff
Retire can_return_tt() and rewirte TT-hit code
authorMarco Costalba <mcostalba@gmail.com>
Sat, 13 Oct 2012 09:32:31 +0000 (11:32 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 13 Oct 2012 09:45:14 +0000 (11:45 +0200)
Simplify the code and doing this introduce a couple
of (very small) functional changes:

- Always compare to depth even in "mate value" condition
- TT cut-off in qsearch also in case of PvNode, as in search

Verified against regression with 2500 games at 30"+0.05
on 2 threads: 451 - 444 - 1602

Functional changed: new bench is 5544977


No differences found