Author: Albert Bertilsson
Date: 00:01:37 04/25/04
Go up one level in this thread
On April 25, 2004 at 02:12:10, macaroni wrote: >As i'm currently re-writing all my book code, i'm wondering what the various >options are. Up untill now i've used either a txt file filled with lines like >e2e4c7c5g1f3... >and had my program search them for a current position. I've also filled a book >with fen positions which allowed for transpositions, but the books were >painfully slow to build (as I stored info about how many times the position had >been played in the pgn file I used to build the book). Are there any standard, >fast ways of doing it? >cheers >Tor Don't know about any book standards, but many programs import pgn files and then have their own format. My program reads textfiles with lines like you describe. I store all positions in a hash table to make lookup fast. /Albert
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.