mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Retire badCaptures[] array in MovePicker
Use the tail of moves[] array to store bad captures. No functional change but some move reorder. Verified with old perft. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -65,8 +65,8 @@ private:
|
||||
MoveStack ttMoves[2], killers[2];
|
||||
int badCaptureThreshold, phase;
|
||||
const uint8_t* phasePtr;
|
||||
MoveStack *curMove, *lastMove, *lastGoodNonCapture, *lastBadCapture;
|
||||
MoveStack moves[256], badCaptures[64];
|
||||
MoveStack *curMove, *lastMove, *lastGoodNonCapture, *badCaptures;
|
||||
MoveStack moves[256];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user