]> git.sesse.net Git - stockfish/commitdiff
Shortcut futility pruning in qsearch
authorMarco Costalba <mcostalba@gmail.com>
Thu, 3 Jun 2010 10:10:12 +0000 (12:10 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 3 Jun 2010 11:10:57 +0000 (12:10 +0100)
If we have pruned one capture due to its final value
we can prune also following ones because captures are
MVV ordered.

Also avoid a compare when not in PV because in that
case is always false.

No functional change.


No differences found