From: Marco Costalba Date: Fri, 20 Aug 2010 07:16:43 +0000 (+0200) Subject: Call apply_weight() only once in passed pawns evaluation X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=00469d1798920b6272e9d92e250db0a388b5afd9;hp=00469d1798920b6272e9d92e250db0a388b5afd9 Call apply_weight() only once in passed pawns evaluation 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 ---