]> git.sesse.net Git - stockfish/commitdiff
Store pawn attacks in PawnInfo
authorMarco Costalba <mcostalba@gmail.com>
Wed, 30 Sep 2009 07:07:46 +0000 (08:07 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 30 Sep 2009 15:11:37 +0000 (16:11 +0100)
They are pawn structure invariant so has a sense to
store togheter with pawn info instead of recalculating
them each time evaluate() is called.

Speed up is around 1%

No functional change.

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

No differences found