Optimized C++ Kurt Guntheroth
Publisher: O'Reilly Media, Incorporated
Optimizing C++/General optimization techniques/Other techniques. Can anyone help me to optimize this bubble sort program? Technical University of Denmark. From Wikibooks In C++, if the array length is not a compile-time constant, use a vector . A multi-platform library of highly optimized functions for C and C++. / Od disables optimization, speeding compilation and simplifying debugging. Both the current version of VC++ and GCC do tail call optimizations fairly well and even for mutually recursive calls. I bet the Intel compiler does, too. 3.3.2 Optimization Considerations When Mixing C/C++ and Assembly 59 3.5.1 Use Caution With asm Statements in Optimized Code . /Ob controls inline function expansion. This is an approximate transcript of my talk at Facebook NYC on December 4, 2012, which discusses optimization tips for C++ programs. /O2 optimizes code for maximum speed.