Author: Daniel Clausen
Date: 06:42:08 05/13/02
Go up one level in this thread
On May 13, 2002 at 09:28:32, Georg v. Zimmermann wrote: >Whats wrong with > >move MovesArray[MAX_MOVES][MAX_SEARCH_DEPTH] > >as global ? > >That will not get overwritten :) > >Georg And why should this be better than move MovesArray[MAX_MOVES] as a local variable in search()? The global approach is almost always worse. (not in NPS, but from a design POV) For example if you want to add SMP later, the local variable is much simpler. Sargon
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.