Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about Crafty's organization of files

Author: Uri Blass

Date: 22:10:08 12/15/03

Go up one level in this thread


On December 15, 2003 at 20:43:03, Robert Hyatt wrote:

>On December 15, 2003 at 18:44:13, Uri Blass wrote:
>
>>Is there a special reason that HashStorePV is in hash.c and not on a seperate
>>file?
>
>I try to keep "related" things together.  IE all the hash code is in hash.c,
>all the learning stuff is in learn.c, all the evaluation code is in evaluate.c,
>etc.

I understand but in this case HashStorePV is clearly related to iterate.c and I
think that having it in iterate when you have a note about it in hash.c is not
less clear for the readers.

In another thought a smart compiler may also understand from the code that
HashStorePV is related to iterate so it is going to make no difference.

Note that I also copied my sort to iterate.c(today I have not a special sort
that I do only at the root but I plan to have it in the future)

Uri



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.