Optimizer Configuration: Function and Loop Level

Let's learn how function inlining, loop unrolling, and loop vectorization can be configured in the optimizer.

Function inlining

As you will recall, compilers can be encouraged to inline some functions, either by defining a function inside a class declaration block or by explicitly using the inline keyword:

Get hands-on with 1400+ tech skills courses.