Improving OOP Efficiency
- Use table lookup (array of method addresses)
to make method lookup fast (C++).
- Cache selector and method at lowest class level
to avoid search (Self).
- Compile specialized methods
``just in time'' when first used:
- sends can be converted to function calls since the class is known
- small methods can be compiled in-line
- partial evaluation may improve