Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Performance was not as expected

, 26 Jan 2013 CPOL
Since the compiler does far less optimization in debug mode, you should really compare release version.By the way, is n a signed or an unsigned number? At first, I think that n is signed and this is the reason for the extra instructions for the division (sign extension and substraction). If...

Revisions


  

Compare Revision Minor Date Status Editor
4 - publicly available No 26-Jan-13 22:21 Available Philippe Mori
Updates in content. 518 changes had been made.
3 No 26-Jan-13 22:00 Available Philippe Mori
Updates in content. 1111 changes had been made.
2 No 26-Jan-13 14:31 Available Philippe Mori
Updates in content. 22 changes had been made.
1 No 26-Jan-13 14:29 Available Philippe Mori

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Philippe Mori
Software Developer (Senior)
Canada Canada
Programmer at Maid LABS from 2003 (www.maidlabs.com)
 
Programmer-Analyst at Viasat Geo Technoligies from 1995 to 2002 (www.viasat-geo.com).
 
I have studied at École Polytechnique de Montréal in computer engineering.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.1411023.1 | Last Updated 26 Jan 2013
Article Copyright 2013 by Philippe Mori
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid