411 REFERENCE · Wikibooks
Optimizing C++
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Optimizing C++ A book about improving program performance
OptimizingCpp
Preface
right
Audience
This book is for intermediate C++ programmers (i.e. studying C++ for at least one year) who want to improve the performance of the software they develop.
Subject
This book contains guidelines and advices on how to write efficient software using the C++ language. Software correctness and maintainability are taken into account, but are not the primary concerns of the guidelines.
Most of the guidelines presented are not platform specific, and so are applicable to every processor, to every compiler, and to every operating system; the few platform specific advices try to cover most platforms.
Table of Contents
Advanced
/Print Version
Introduction
Optimization life cycle
Writing efficient code
Performance improving features
Performance worsening features
Constructions and destructions
Allocations and deallocations
Memory access
Thread usage
General optimization techniques
Input/Output
Memoization
Sorting
Other techniques
Code optimization
Allocations and deallocations
Run-time support
Instruction count
Constructions and destructions
Pipeline
Memory access
Faster operations
Compile time optimization
Tools
Further reading
Guidelines for editors
C++ programming language
O
75%
__NOTOC__ __NOEDITSECTION__
it:Ottimizzare C++