Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
InLining
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
Copying all of a function body into another function rather than just calling it. This may have several benefits (such as avoiding the function call/return overhead, and constant evaluation of the inlined function). Disadvantages of having some code inlined in many places (instead of as a single function) can include a larger binary, and cache misses during execution. Inlining is one of the easiest global optimisations in procedural languages such as [C]/[C++] and [Java].
4 pages link to
InLining
:
CallGraph
ObjectOrientation
Function
CompileTime