gnugo-devel
[Top][All Lists]
Advanced

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

RE: [gnugo-devel] Code cleanup


From: Arend Bayer
Subject: RE: [gnugo-devel] Code cleanup
Date: Fri, 15 Nov 2002 13:47:46 +0100 (CET)

Nando wrote:

> Dan wrote:
>
> > Presumably these were written as macros in the first place to save
> > a function call. What's the reason for converting them to static
> > functions?
>
> Arend wrote :
> > Btw, Nando, I guess the GOAL_LIST macros should rather be functions.
> > Macros have no type checking, are ugly to read...so let's not use them
> > where we can use functions and where performance doesn't matter.

It's only called during owl initialization, so it's no way time
critical.
(Even if it was called during do_owl_defend/attack, I doubt saving the
function call would be worth the cache penalty.)

Arend






reply via email to

[Prev in Thread] Current Thread [Next in Thread]