]> git.sesse.net Git - stockfish/commitdiff
In qsearch store the cut move in TT
authorMarco Costalba <mcostalba@gmail.com>
Sat, 18 Apr 2009 13:03:33 +0000 (14:03 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Apr 2009 13:04:00 +0000 (14:04 +0100)
And upon reentering the same position try it as first.

Normally qsearch moves order is already very good, first move
is the cut off in almost 90% of cases. With this patch, we get
a cut off on TT move of 98%.

Another good side effect is that we don't generate captures
and/or checks when we already have a TT move.

Unfortunatly we found a TT move only in 1% of cases. So real
impact of this patch is relatively low.

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

No differences found