Search the forum,

inline

In computing, inline expansion, or inlining, is a manual or compiler optimization that replaces a function call site with the body of the called function. Inline expansion is similar to macro expansion, but occurs during compilation, without changing the source code (the text), while macro expansion occurs prior to compilation, and results in different text that is then processed by the compiler.
Inlining is an important optimization, but has complicated effects on performance. As a rule of thumb, some inlining will improve speed at very minor cost of space, but excess inlining will hurt speed, due to inlined code consuming too much of the instruction cache, and also cost significant space. A survey of the modest academic literature on inlining from the 1980s and 1990s is given in Peyton Jones & Marlow 1999.

View More On Wikipedia.org
  • 22

    Dan

    Administrator From On the forum.
    • Messages
      2,782
    • Directory
      6
    • Video
      98
    • Reaction score
      1,222
    • Points
      113
  • 1

    Eyespy999

    Plumbers Arms member From Near the sea
    • Messages
      148
    • Video
      12
    • Reaction score
      3
    • Points
      18
  • 1

    Gary555

    51 From North Wales
    • Messages
      11
    • Reaction score
      1
    • Points
      3
  • Creating content since 2001. Untold Media.

    Newest Plumbing Threads

    Back
    Top
    AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    I've Disabled AdBlock