We investigate the topic of premature optimizations, or more specifically, in what cases you want to think early about performance.
All posts tagged virtual functions
The true price of virtual functions in C++
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Performance6 Replies
We talk about virtual functions, and how the performance of software with virtual functions depends on many factors: the cost of additional instructions, cache misses, branch prediction misses, instruction cache misses and compiler optimizations.