]> git.sesse.net Git - stockfish/commit
Delay SEE for scoring captures
authorMarco Costalba <mcostalba@gmail.com>
Sat, 1 Nov 2008 17:28:49 +0000 (18:28 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 2 Nov 2008 14:00:28 +0000 (15:00 +0100)
commitd087b0a34a6aaa0fc31d2fa256b02861d0351256
tree71d1cae35859d46bf1ffbdd994e83f32af7960b6
parent55b6464d4096edae032c67d829acff69705b22a6
Delay SEE for scoring captures

Do not calculate SEE on all the moves in MovePicker::score_captures()
but delay until pick_move_from_list() when only the best ones are
double checked against their see value.

If a beta cut-off occurs then we avoid calculating SEE on all
the moves, but just the picked ones.

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