1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Increase MaterialTableSize 8 times

Now that we prefetch in material hash table we
can increase its size and gain something.

Hit rate is now of 98% from 92%

Speedup of 0.8%

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2011-04-11 15:33:35 +02:00
parent f28ddbb852
commit 08c464c690
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ namespace {
const Value EndgameLimit = Value(3998);
// Scale factors used when one side has no more pawns
const int NoPawnsSF[4] = { 6, 12, 32 };
const uint8_t NoPawnsSF[4] = { 6, 12, 32 };
// Polynomial material balance parameters
const Value RedundantQueenPenalty = Value(320);

View file

@ -25,7 +25,7 @@
#include "tt.h"
#include "types.h"
const int MaterialTableSize = 1024;
const int MaterialTableSize = 8192;
/// MaterialInfo is a class which contains various information about a
/// material configuration. It contains a material balance evaluation,