RE: [GD-Windows] VC.NET 'Optimization'
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2005-04-12 01:04:45
|
> If it's in the same source file, it might even know that the function > has no aliasing issues. I think this is the key -- it couldn't know whether the functions used internally to the timer instance would be aliased by fibonacci() unless it had the source to that function. Did you look at the assembly? It might even be that the compiler replaces the call to the function with a pre-calculated value, as it's entirely constant. That would surprise me less than a function call re-ordering optimization... Cheers, / h+ |