use plain arrays in board struct, no malloc() needed, board_alloc() goes away
share data common to all boards (board_statics): nei8, dnei, coord, h
makes sense, and reduces size of struct board so board_copy() is slightly faster.
I guess it's more easy on the cache too.
use string buffer to build up string in board_print()
moved BOARD_TRAITS code to board_traits branch,
this way if we need it it's there, and main branch can be simpler
moved BOARD_SPATHASH code to board_spathash branch,
ditto
removed DEBUG checks (or maybe i should have left them, helps cleaning up braces though)
Altogether this makes board.c about 400 lines shorter.
board.c cleanup, i guess that's the big one:
makes sense, and reduces size of struct board so board_copy() is slightly faster.
I guess it's more easy on the cache too.
board_traits
branch,this way if we need it it's there, and main branch can be simpler
board_spathash
branch,ditto
Altogether this makes board.c about 400 lines shorter.