From: Marco Costalba Date: Wed, 13 Feb 2013 11:26:08 +0000 (+0100) Subject: Speedup KPK bitbase of 25% X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=10d29add187fbc7ce20535a2beddc76e4a8ad0c2;hp=10d29add187fbc7ce20535a2beddc76e4a8ad0c2;ds=sidebyside Speedup KPK bitbase of 25% Change the way the index is coded so that now looping from 0 to IndexMax generates the pawns from RANK_7 down to RANK2. Becuase positions with pawns at RANK_7 are easily classified as wins/draws, this small trick allows to reduce the number of needed iterations from 30 down to 26! No functional change. Signed-off-by: Marco Costalba ---