Where do you upload hash tables, opening book and bitbases?

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Where do you upload hash tables, opening book and bitbases?

Postby Pedro Castro » 21 Oct 2008, 22:25

which is the right place?

1. In the main() function when the program starts we can start the hash tables, opening book and bitbases. May happen that xboard no gives time to start all?

2. When starts xboard() we send done = 0 and then upload hash tables, opening book and bitbases, then we send done = 1.
Best wishes,

Pedro Castro
User avatar
Pedro Castro
 
Posts: 180
Joined: 28 Jan 2005, 01:09
Location: Pays Basque (Spain)

Re: Where do you upload hash tables, opening book and bitbas

Postby Ron Murawski » 22 Oct 2008, 05:36

Pedro Castro wrote:which is the right place?

1. In the main() function when the program starts we can start the hash tables, opening book and bitbases. May happen that xboard no gives time to start all?

2. When starts xboard() we send done = 0 and then upload hash tables, opening book and bitbases, then we send done = 1.


Hi Pedro,

I do all initializations in main() before communicating with Winboard. I don't know if this is "right" any more because Winboard is starting to support some of these features.

Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 39 guests