mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Unify patch series summary
This patch seems bigger then what actually is. It just moves some code around and adds a bit of coding style fixes to do_move() and undo_move() so to have uniformity of naming in both functions. The diffstat for the whole patch series is 239 insertions(+), 426 deletions(-) And final MSVC pgo build is even a bit faster: Before 448.051 nodes/sec After 453.810 nodes/sec (+1.3%) No functional change (tested on more then 100M of nodes) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -310,7 +310,7 @@ private:
|
||||
void allow_ooo(Color c);
|
||||
|
||||
// Helper functions for doing and undoing moves
|
||||
void do_capture_move(PieceType capture, Color them, Square to, bool ep);
|
||||
void do_capture_move(Bitboard& key, PieceType capture, Color them, Square to, bool ep);
|
||||
void do_castle_move(Move m);
|
||||
void undo_castle_move(Move m);
|
||||
void find_checkers();
|
||||
|
||||
Reference in New Issue
Block a user