Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: The gang's all here (Crafty 17.11)

Author: Dann Corbit

Date: 12:02:05 06/13/00

Go up one level in this thread


On June 13, 2000 at 14:56:30, Severi Salminen wrote:

>Hi!
>
>What are the main differences between your and Hyatt's versions (source and
>compiled executables)?

I mostly make some arrays and things bigger.  For instance, I make all file
paths of size FILENAME_MAX instead of the defaults.  And I modify CLUSTER_SIZE
so that I can build an opening book from 2.3 million chess games, including
every single move in it [yes, I truly am perverted].

A few tiny performance tweeks, but it's only about 4% faster than the one on Dr.
Hyatt's site, and Eugene's will probably be faster.

There are some things that will probably slow the program down a little.  For
instance, if lint says even:
   "This variable is conceivably not initialized."
I will try to find a sensible initialization value and initialize it.

Also, sometimes Lint fears that an array bound will be overflowed by a
calculation.  In such a case, I sometimes bump the array bound by 1, if that
will shut lint up.  The probability of it being an actual error is *extremely*
remote, since bounds checker did not burp during many test runs.

It's probably safer to get Dr. Hyatt's version, since I do make changes and that
might introduce bugs.



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.