]> git.sesse.net Git - stockfish/commitdiff
Pawn move generator: dispatch at compile time
authorMarco Costalba <mcostalba@gmail.com>
Sun, 19 Oct 2008 15:54:18 +0000 (17:54 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 19 Oct 2008 19:42:12 +0000 (20:42 +0100)
Instead of function pointers use templates to
dispatch shift operations.

It is more clear and possibly also faster because
branches are removed at compile time.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found