mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Simplify SEE
Greatly cleanup SEE code and now it is also a bit faster on gcc, about +0.6%. Thanks to Mike Whiteley new SEE code that gave me fresh ideas on how to cleanup this old stuff. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -243,7 +243,6 @@ public:
|
||||
// Static exchange evaluation
|
||||
int see(Square from, Square to) const;
|
||||
int see(Move m) const;
|
||||
int see(Square to) const;
|
||||
int see_sign(Move m) const;
|
||||
|
||||
// Accessing hash keys
|
||||
@@ -348,6 +347,7 @@ private:
|
||||
static Key zobSideToMove;
|
||||
static Score PieceSquareTable[16][64];
|
||||
static Key zobExclusion;
|
||||
static const Value seeValues[8];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user