Speed up move generation
authorMarco Costalba <mcostalba@gmail.com>
Mon, 29 Jul 2013 17:01:50 +0000 (19:01 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 29 Jul 2013 17:01:50 +0000 (19:01 +0200)
commit28bc8ed4620df5cb12803ef96e61e2e4aad700ba
treeeff944c29611d41f68039a604199e63993d5cb70
parent5ee16a180a7eb3f51f7cabd86cf17d8c217b13b3
Speed up move generation

Pass the color as template parameter
to generate_all()

Speedup of 1,3% in perft and 2,5% in bench !

No functional change.
src/movegen.cpp