Use a const pointer-to-member array for attacks
authorMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 06:54:18 +0000 (08:54 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:34 +0000 (21:35 +0200)
commit3b857d1625c87ae3b87ea9e960b2c8d2d3284b9a
tree212605abf3319a89248108cf196fbc0f10851628
parentaa7121297de97ee0f449d7a265d91796ac3d8843
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>
src/main.cpp
src/movegen.cpp
src/position.cpp
src/position.h