We try to answer two questions related to compiler optimizations: how can you help the compiler do a better job and when does it make sense to do the compiler optimizations manually.
All posts in Help the Compiler
Loop Optimizations: how does the compiler do it?
Posted on Author Ivica BogosavljevićPosted in Help the Compiler, Performance, Toolchain and Performance2 Replies
We investigate what are the techniques your compiler employs to make your loop run faster.
Flexibility and Performance
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Help the Compiler, Performance, Standard Library and PerformanceLeave a Reply
In this post we talk about how to write code that is both flexible and fast!
Make your programs run faster: avoid function calls
Posted on Author Ivica BogosavljevićPosted in Help the Compiler, Low Level Performance, Performance, Toolchain and PerformanceLeave a Reply
Function calls are not cheap operations and for time critical code it is better to avoid them. This article explores techniques you can use to avoid function calls thus speeding up your code.