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.
- 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