Author: Tom Kerrigan
Date: 16:48:09 06/19/00
Go up one level in this thread
On June 19, 2000 at 13:20:30, Gian-Carlo Pascutto wrote: >On June 19, 2000 at 11:54:05, Adrien Regimbald wrote: > >>Hrm.. I call my movegen inside of move generation too.. > >Duh ;) > >>I don't think this is >>your problem - even if I were to call my movegen 10 times/move, it'd still be a >>lot faster than what you're getting.. maybe I'll have a peek at your book code >>and see if anything funky is immediately obvious.. :P > >I call movegen for every move in the game, then again for each move for >that move (disambiguation in the convertor - sp?), and if the move is a check >again for each move for each move (check or mate?). I assume you are doing all this generation to determine if a move should be followed by a '+' or a '#'. When parsing moves, I believe you can safely ignore those symbols. When I am parsing my opening book PGN file, I call my move generator once per move, then I call makemove()/undo() for each move that's generated to determine legality, then I call san() on each move to see if the string matches the string that was read from the PGN file. Even though I do all this work, I can parse a few hundred games per second. Maybe around a thousand. -Tom
This page took 0.01 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.