Author: Johan Melin
Date: 04:33:28 04/22/02
Go up one level in this thread
Hi, I think that global variables are a few percent faster, but it becomes difficult if you want to make your engine multi-threaded. I think the best option is to represent your board in such a way, that most of the code that references it doesn't now if it is global or pointer-based. For example by using macros or inline functions. Then it is easy to try either way. /Johan Melin
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.