]> git.sesse.net Git - stockfish/commit
Split killer moves from non-captures
authorMarco Costalba <mcostalba@gmail.com>
Mon, 25 May 2009 06:49:50 +0000 (07:49 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 25 May 2009 06:49:50 +0000 (07:49 +0100)
commitbdb1bfecfb5665329a7d66f4c366a9736bab6c0b
tree75d08d778a3f0a6dd17836c53e389d077201c2cb
parent1b0888708d670f95a75da49f7890d916b51a58b0
Split killer moves from non-captures

In MovePicker consider killer moves as a separate
phase from non-capture picking.

Note that this change guarantees that killer1 is always
tried before killer2. Until now, because scoring difference
of the two moves was just 1 point, if psqt tables of killer1
gave a lower value then killer2, the latter was tried as first.

After 999 games at 1+0 we have
Mod vs Orig: +245 =527 -227 +6 ELO

Not a lot but patch is anyhow something worth to have.

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