]> git.sesse.net Git - stockfish/commitdiff
Call apply_weight() only once in passed pawns evaluation
authorMarco Costalba <mcostalba@gmail.com>
Fri, 20 Aug 2010 07:16:43 +0000 (09:16 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 24 Aug 2010 18:13:13 +0000 (19:13 +0100)
First accumulate the bonus for each pawn, then call the
not very fast apply_weight().

Should be no functional change apart from rounding issues.

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

No differences found