]> git.sesse.net Git - stockfish/commitdiff
Microptimize first_entry() for 32bits
authorMarco Costalba <mcostalba@gmail.com>
Sat, 9 Feb 2013 09:22:34 +0000 (10:22 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 9 Feb 2013 09:55:38 +0000 (10:55 +0100)
Do a 32bit bitwise 'and' instead of a 64bit
subtract and bitwise 'and'.

This is possible because even in the biggest
hash table case (8GB) the number of entries
is 2^29 so storable in an unsigned int.

No functional change.


No differences found