]> git.sesse.net Git - stockfish/commitdiff
Shortcut see_sign() when SEE is known negative
authorMarco Costalba <mcostalba@gmail.com>
Fri, 30 Oct 2009 12:34:45 +0000 (13:34 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 1 Nov 2009 20:06:14 +0000 (21:06 +0100)
This patch cuts 30% of SEE calculations, as a drawback
a returned negative value is no more always correct if
a shortcut is found.

This could impact move order when based on negative see
score as example bad captures and evasions.

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

No differences found