]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Optimize order of a few conditions in search
[stockfish] / src / evaluate.cpp
index 177d29345fa38613143630e7a01564f4ce58039b..d533eed8c76d17172c10632c2c0cdada03a5a7a6 100644 (file)
@@ -210,7 +210,7 @@ namespace {
   // in KingDanger[]. Various little "meta-bonuses" measuring the strength
   // of the enemy attack are added up into an integer, which is used as an
   // index to KingDanger[].
-  Score KingDanger[512];
+  Score KingDanger[400];
 
   // KingAttackWeights[PieceType] contains king attack weights by piece type
   const int KingAttackWeights[PIECE_TYPE_NB] = { 0, 0, 7, 5, 4, 1 };