]> git.sesse.net Git - stockfish/commitdiff
Optimize generate_evasions()
authorMarco Costalba <mcostalba@gmail.com>
Mon, 2 Nov 2009 15:33:54 +0000 (16:33 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 4 Nov 2009 10:18:43 +0000 (11:18 +0100)
Generate captures of checking piece and blocking
evasions in one go.

Also reduce of one indentation level early returning
when we have a double check.

Verified with perft no functional change.

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

No differences found