Micro-optimize perft
authorMarco Costalba <mcostalba@gmail.com>
Fri, 21 Jun 2013 07:10:03 +0000 (09:10 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 21 Jun 2013 07:10:03 +0000 (09:10 +0200)
commite215a88cddd16e09cd77618bd3b793957dea7dc1
tree2422ba93f41d85232e060a93f3cb29688a57fcd4
parente95e69515a8e30bcdcef84bd37656c3ea3099cd5
Micro-optimize perft

Avoid to call perft function when we just need to count
moves, at leaf nodes.

Speed up of almost 2%

No functional change.
src/search.cpp