]> git.sesse.net Git - stockfish/commitdiff
Simplify generate<EVASIONS>
authorMarco Costalba <mcostalba@gmail.com>
Mon, 11 Nov 2013 18:48:29 +0000 (19:48 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 11 Nov 2013 18:53:19 +0000 (19:53 +0100)
Use the newly introduced LineBB[] to simplify this
super hot-path function.

Verified with perft we don't have any speed regression, although
the number of squares removed is less than before in case of
contact check.

Insipred by DiscoCheck implementation.

Perft numbers are the same, but we have an harmless functional
change due to reorder of moves, because now some illegal moves
are no more detected at generation time, but in the search.

bench: 8331357


No differences found