[computer-go] Go datastructures

Darren Cook darren at dcook.org
Fri Jul 20 19:36:49 PDT 2007


> I don't use functions to convert 0-n to x, y.  I use arrays of constants
> instead.  It's faster.

APD.get_x(d), for instance, is doing a lookup in an array that is made
by the constructor once when the program starts up. Everything is inline
so it is the same.

Darren



More information about the computer-go mailing list