Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about static vs global variables

Author: Frank Phillips

Date: 02:53:59 10/27/01

Go up one level in this thread


Are there any issues associated with time?  Presumably at runtime storage has to
be created for local variables in a recursive function, such as ABSearch(), and
then destroyed; whereas it has to be created only at initialisation for globals.
 Having said that, I used to have local arrays for the move list and never
noticed much if any speed difference (and still use them for testing).

Frank



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.