Skip to main content
inlining

inlining

1 7.5
Replacing a call to a function with the actual code so the program runs faster
  • noun
  • /ˈɪnˌlaɪnɪŋ/
  • Specialized
translation icon : sustitución de llamada
  • 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

function call
  • Specialized
1 4.4

An instruction in a program that runs a small piece of code and then returns

How Inlined

inlining
  • Specialized
1 7.5
macro
  • Specialized
40 6.8
inline
  • Specialized
6.9
function call
  • Specialized
1 4.4

Surface Forms

inlining singular
inlinings plural

Morphology

inlining = inline (semi-transparent) = inline + ing

Morphologically a regular -ing nominalization of 'inline', but the specific compiler-optimization sense is technical and not obvious to general learners.

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.