Author: Matthew McKnight
Date: 16:27:41 12/15/03
Go up one level in this thread
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 understand that hashstorePV is called only from iterate.c or in other words >almost never when other functions called often in the search. > >I understand that it is better to put functions that are called rarely in >seperate files so I think that it may be better to have a seperate file for >the function HashStorePV or to have HashStorePV in iterate.c > >Note that I learned from Crafty to have a special file for iterate.c and the >number of files in movei is increasing(now I have 15 files). > >It was not a trivial part that I could solve by one cut and paste because I goto >in my iterate.c(similiar to tscp) and I have the same goto also during pondering >if I get a move so I had to copy also part of the functions that handle winboard >commands to my iterate.c but fortunately these functions are rarely used so I >guess it is also an advantage to have them on a seperate file. > > >It helped me to get a small speed improvement of almost 2% > >Uri Yes, I tried this too a while ago, and simply moving iterate() out of the my _huge_ search.cpp gave me approx. 2% speedup also! Thanks again, Dr. Hyatt
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.