inlining
- noun
- /ˈɪnˌlaɪnɪŋ/
- Specialized
- Formatting the code such that the compiler had compile-time knowledge of functions, with inlining used as an enabling optimization, and a few variations produced.
Examples
-
Sometimes the process of creating the thunk is called outlining (the reverse operation of inlining), and the thunk is then referred to as an outline.
Blog text (12) -
Inlining may enable loop-invariant code motion, dead code elimination, or induction variable elimination.
Blog text (25) -
Why should simple inlining make such a large difference?
Blog text (25) -
In a well-optimized implementation, with stuff passed in registers, this can just be a jump; with inlining, it might not even require that.
Blog text (8) -
With proper inlining, I believe these filters can be merged into something really tight, with very little glue waste.
Blog text (8) -
On the other hand, many inlining optimizations, or removal of dynamic tests, for instance, require either trivial dynamic analysis or impossibly complex static analysis.
Blog text (22) -
Inlining certainly isn't just about eliminating the function call overhead (though there is that too); in fact, it's generally much more important as an enabling transformation.
Blog text (25) -
The process of inlining helps improve performance significantly by directly embedding function code into the calling location.
-
For many developers, inlining is a crucial technique for optimizing the speed of applications by minimizing the function call overhead.
-
The answer is that inlining is key to why the text package achieves good performance.
Antonyms
- Specialized
An instruction in a program that runs a small piece of code and then returns
How Inlined
- Specialized
- Specialized
- Specialized
- Specialized
Surface Forms
Morphology
Etymology
Inlining comes from the parts in- 'in' and line 'place in the code'. It means putting a small function's actual code 'in the line' where it is used instead of calling it from elsewhere, which helps the program run faster.