RE: [GD-Windows] VC.NET 'Optimization'
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2005-04-12 22:15:04
|
> To be safe, as you said, the fibonacci() call would have to be made in a > statement after the timer.Restart() but before the printf() containing > the timer.GetElapsed(); This still doesn't fix the problem that, given that you pass a constant into fibonacci(), the compiler can statically evaluate the entire function and replace it with a literal value. Cheers, / h+ |