Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: speeding up epd/fen generation from pgn

Author: Dann Corbit

Date: 10:06:38 01/24/06

Go up one level in this thread


On January 21, 2006 at 04:57:00, George Jempty wrote:

>Thanks for those!  I may also work on improving the Perl modules.  Interestingly
>just to test my choice of language for the task, I backed up and wrote scripts
>in 3 languages just to open the file (it's 1.3 Gig) and count the blank lines
>(like most PGN files there are two blank lines per game, one to separate the
>tags from the move text, the other to separate games themselves).  These were my
>findings:
>
>Perl: 75 seconds
>C++: 100 seconds
>Lua: 120 seconds

For string processing, I expect Perl to be competitive with anything.



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.