Optimization

TwitterFacebook
Get flash to fully experience Pearltrees
I wrote this article back in July and it ended up being the basis of this video (scroll to where it says “Thinking about Performance” and choose a speed) http://blogs.msdn.com/b/ricom/archive/2003/12/12/43245.aspx

Designing for Performance - Rico Mariani's Performance Tidbits - Site Home - MSDN Blogs

http://www.linuxjournal.com/article/7269

Optimization in GCC | Linux Journal

In this article, we explore the optimization levels provided by the GCC compiler toolchain, including the specific optimizations provided in each. We also identify optimizations that require explicit specifications, including some with architecture dependencies.
(or, "Size Is Everything") She studied it carefully for about 15 minutes.

A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux

http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
Initializer lists work fine when implemented in .cpp files - what makes you believe they wouldn't?

efficiency - C++ ctors: What's the point of using initializer list in a .cpp file? - Stack Overflow

http://stackoverflow.com/questions/4453244/c-ctors-whats-the-point-of-using-initializer-list-in-a-cpp-file
The restrict keyword does a difference. I've seen improvements of factor 2 and more in some situations (image processing). Most of the time the difference is not that large though. http://stackoverflow.com/questions/1965487/does-the-restrict-keyword-provide-significant-anti-aliasing-benefits-in-gcc-g

c++ - Does the restrict keyword provide significant anti-aliasing benefits in gcc / g++ - Stack Overflow

The construction of an efficient application should perform the following development process: http://en.wikibooks.org/wiki/Optimizing_C%2B%2B/Optimization_life_cycle

Optimizing C++/Optimization life cycle - Wikibooks, open books for an open world