RE: VC.NET 'Optimization'
"Jon Watte" <[email protected]> Tue, 12 Apr 2005 15:15:35 -0700
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
> 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+ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555