Author: Dieter Buerssner
Date: 12:50:28 01/17/04
Go up one level in this thread
I cannot see, how this will help a modern compiler to optimize the code. I think, having a local const var is basically a debugging aid - not more, not less. const variabales at higher levels (outside of the functions) are different. I believe, for C++, they are basically the same as #defines in C. For C, #defines might be preferable. Regards, Dieter
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.