mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08: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:
@@ -32,7 +32,7 @@ namespace {
|
|||||||
const Value EndgameLimit = Value(3998);
|
const Value EndgameLimit = Value(3998);
|
||||||
|
|
||||||
// Scale factors used when one side has no more pawns
|
// 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
|
// Polynomial material balance parameters
|
||||||
const Value RedundantQueenPenalty = Value(320);
|
const Value RedundantQueenPenalty = Value(320);
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#include "tt.h"
|
#include "tt.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
const int MaterialTableSize = 1024;
|
const int MaterialTableSize = 8192;
|
||||||
|
|
||||||
/// MaterialInfo is a class which contains various information about a
|
/// MaterialInfo is a class which contains various information about a
|
||||||
/// material configuration. It contains a material balance evaluation,
|
/// material configuration. It contains a material balance evaluation,
|
||||||
|
|||||||
Reference in New Issue
Block a user