Author: James Swafford
Date: 07:04:13 05/10/05
Go up one level in this thread
On May 09, 2005 at 15:36:50, Dann Corbit wrote: >On May 09, 2005 at 10:23:06, James Swafford wrote: > >>On May 09, 2005 at 10:04:41, James Swafford wrote: >> >>>I am glad you asked this question. I've always used 250 it's >>>worked out ok, but I've never proven to myself that 250 is a safe >>>bound. >>> >>>Is anybody using a hard limit > 250? >> >>Actually, I have a global move stack moves[MOVE_STACK] with MOVE_STACK >>#DEFINE'd as something like 20000. >> >>Not sure what I was thinking about above. :-/ > >Well, at least you would never overflow the array with a list of possible moves. > >Are you sure that it is not holding the list of moves in the game (perhaps along >with the current move list)? > >C99 has variant arrays. No, my game move list (hist_dat[]) is dimensioned at 1000. I'm sure that's overkill, but at least I don't have to worry about it. I was working on a tablebase generator that had some local move arrays dimensioned at 250 elements ...
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.