]> git.sesse.net Git - stockfish/commit
Delay sorting of negative scored non-captures
authorMarco Costalba <mcostalba@gmail.com>
Fri, 5 Feb 2010 17:17:52 +0000 (18:17 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 5 Feb 2010 17:31:09 +0000 (18:31 +0100)
commitc7866a4215c31d7d0af8e8550fbf8c13f6ea1d1a
tree3d7f16c28d893b2f642ac3a6caab1dd168d91154
parent69644d3f734ec97e8448383f9a91ae8cebf83e9c
Delay sorting of negative scored non-captures

We can do this only when needed, if we get a cut-off
before we skip sorting entirely. This reduces sorting
time of about 20%.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/move.h
src/movepick.cpp
src/movepick.h