[Top][All Lists]

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

Re: [Bug-gnubg] Compile latest version under Windows

From: Gary Wong
Subject: Re: [Bug-gnubg] Compile latest version under Windows
Date: Wed, 27 Nov 2002 12:25:21 -0500
User-agent: Mutt/1.3.28i

Thanks very much for all your recent work on the racing databases!  Everything
seems to work very well from the small amount I have tried so far.

However, I am also not sure how useful it is to include pbc1 in one massive
C file (and thus the executable).  I can't think of any compelling reason
why it should be included, but there are a few minor reasons against it:

 - it requires downloading extra stuff with each binary snapshot, as
 - it makes all those extra megabytes compulsory instead of optional
   (we can still use Eric Groleau's heuristic bearoff table for the
   same thing),
 - we can no longer share the database in memory between different programs
   (if we mmap() the database, then combinations like running gnubg and
   a gnubg-based FIBS bot simultaneously on the same host work better),
 - a 9-10MB C file which is far bigger than the rest of gnubg put together
   slows down compilation and is a bit ugly anyway :-)

If there are no objections, I'd like to suggest putting the one-sided
database into something like gnubg_os0.bd, BearoffInit()ing that with
BO_IN_MEMORY so that it can be mmap()ed if possible, and falling back
to BO_HEURISTIC if it's not present.

   Gary Wong           address@hidden           http://www.cs.arizona.edu/~gary/

reply via email to

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