Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opening book implementation

Author: Andrew Williams

Date: 06:08:33 08/18/04

Go up one level in this thread


On August 18, 2004 at 04:35:37, Eydun Lamhauge wrote:

>How do you usually implement an opening book in your chess engines?
>Is it normal to read all book-entries into memory when the chess-engine starts,
>or is the book-file read and searched before every move?

My book is kept in a file. It's not loaded into memory because it can be of
arbitrary size. PostModernist simply does a binary chop on the entries, which
are ordered by hash-key.

Andrew




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.