mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 08:07:08 +08:00
Use a const pointer-to-member array for attacks
Allow the compiler to optimize member function access. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -52,7 +52,6 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// Initialization
|
||||
|
||||
init_piece_attacks_fn();
|
||||
init_mersenne();
|
||||
init_direction_table();
|
||||
init_bitboards();
|
||||
|
||||
Reference in New Issue
Block a user