Speedup KPK bitbase of 25%
authorMarco Costalba <mcostalba@gmail.com>
Wed, 13 Feb 2013 11:26:08 +0000 (12:26 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 13 Feb 2013 19:13:56 +0000 (20:13 +0100)
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 <mcostalba@gmail.com>

No differences found