mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Propagate "move is check" info to do_move()
When false (common case) we avoid to update checkers bitboard that although not so costly slows down a bit this very hot and critical path. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -236,7 +236,7 @@ public:
|
||||
// Doing and undoing moves
|
||||
void saveState();
|
||||
void do_move(Move m, StateInfo& st);
|
||||
void do_move(Move m, StateInfo& st, Bitboard dcCandidates);
|
||||
void do_move(Move m, StateInfo& st, Bitboard dcCandidates, bool moveCanBeCheck = true);
|
||||
void undo_move(Move m);
|
||||
void do_null_move(StateInfo& st);
|
||||
void undo_null_move();
|
||||
|
||||
Reference in New Issue
Block a user