This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
exploring_worth sub-module functions (Was Re: Side Mask)
- From: dancebob at mindspring dot com (Bob Carragher)
- To: Xconq mailing list <xconq7 at sources dot redhat dot com>
- Date: Tue, 23 Jul 2002 21:23:51 -0700
- Subject: exploring_worth sub-module functions (Was Re: Side Mask)
- Reply-to: dancebob at mindspring dot com (Bob Carragher)
> [Separating exploring_worth function into sub-module functions.]
This is a very minor point but may make a big difference to
performance: would these module functions be inline? gcc
supports inline functions in C but I don't know if this is
supported by all C compilers. (It probably is. In any case,
if/when xconq is converted to C++, this issue would disappear.)
I don't know how often the explorer_worth function would be
invoked, but if it's "regularly," then it needs to be as
efficient as is reasonably possible.
Hm, actually, I'm not so sure about that anymore. Certainly
at the very start the AIs can take as long as the humans to
perform their moves, but later in the game the humans almost
certainly take far longer.
Maybe this whole issue is moot?
Bob