mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Avoid constructing an empty tuple in qsearch
Avoid constructing, passing as a parameter and binding a useless empty tuple of pointers in the qsearch move picker constructor. Also reformat the scoring function in movepicker.cpp and do some cleaning in evaluate.cpp while there. No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
5ea327d924
commit
002bf4d8db
@@ -39,6 +39,7 @@ const std::string pretty(Bitboard b);
|
||||
|
||||
}
|
||||
|
||||
const Bitboard AllSquares = ~Bitboard(0);
|
||||
const Bitboard DarkSquares = 0xAA55AA55AA55AA55ULL;
|
||||
|
||||
const Bitboard FileABB = 0x0101010101010101ULL;
|
||||
|
||||
Reference in New Issue
Block a user