[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: computer-go: Sharing Go modules + XML



On Thu, May 17, 2001 at 08:54:51PM +0200, Mark Boon wrote:
> I had hoped to see some feedback from people who work on the GNU team to
> see how they have organised these issues, but unfortunately no response
> from any of them yet.

Currently gnugo uses a two-dimensional array , and passes two parameters,
often pointer to ints for returning values.

We have had some discussion about changing it, and will do so, probably
after 3.0 is out. It is heavy surgery, and not without risks.

Our main motivation to do this was maintainability, not performance. We run
into a few bugs where we passed a pointer to the wrong coordinate, or
something. Since we are fighting with performance at the moment, that would
certainly be another good reason. 

Another detail that has, in my opinion, added to the confusion is the
tradition of using coordinates i,j instead of x,y. They look too much
alike...


- Heikki

-- 
Heikki Levanto  LSD - Levanto Software Development   <heikki@xxxxxxxxxxxxxxxxx>