Author: Uri Blass
Date: 17:52:37 07/29/04
I thought to have some static local varaibles for things like remaining number of moves to the time control or time_used and I looked at time.cpp of Crafty and found that Crafty is using global varaibles. I also found that some functions like DisplayTime are in utility.c and not in time.c I wonder if it is a good programming and if there is a special reason for it? After all time varaibles are not varaibles that are used very often during the search so it may be better to have less global varaibles and if I want to use time varaibles to call a function that is in the time.c file in order to do it. 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.