Contents
Page-10
Prev
Next
Page+10
Index
In-line Compilation
In-line or open
compilation refers to compile-time
expansion of a subprogram, with substitution of arguments, in-line at
the point of each call.
Advantages:
- Eliminates overhead of procedure call
- Can eliminate method lookup in an object-oriented system
- Can expose opportunities for optimization across the procedure call,
especially with OOP: more specific types become exposed.
- Relative saving is high for small procedures
Disadvantages: