Key Points
Inlining is the replacement of a method call with the code for the method.
Inlining improves performance by removing call overhead and allowing cross-call optimizations to take place.
Inlining is primarily an execution-time optimization, though it can also result in smaller executable images as well.
Get Efficient C++ Performance Programming Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.