]> git.sesse.net Git - stockfish/commitdiff
Retire quietsSearched[]
authorMarco Costalba <mcostalba@gmail.com>
Sun, 17 Nov 2013 08:12:19 +0000 (09:12 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 17 Nov 2013 08:51:04 +0000 (09:51 +0100)
Use MovePicker moves[] to access already tried
quiet moves. A bit of care shall be taken
to avoid calling stage_moves() when we are still
at ttMove stage, because moves are yet to be
generated. Actually our staging move generation
makes this code a bit more tricky than what I'd
like, but removing an ausiliary redundant
array like quietsSearched[] is a good thing.

Idea by DiscoCheck

bench: 9355734


No differences found