From: Marco Costalba Date: Sun, 19 Oct 2008 15:54:18 +0000 (+0200) Subject: Pawn move generator: dispatch at compile time X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=68c78400c8eb1b9946caa93d6013eff1d985e577;hp=68c78400c8eb1b9946caa93d6013eff1d985e577;p=stockfish Pawn move generator: dispatch at compile time 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 ---