In this post we talk about how to write code that is both flexible and fast!
All posts tagged inlining
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.