Improving OOP Efficiency
- Use table lookup (array: class, method)
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
efficiency
Contents   
Page-10   
Prev   
Next   
Page+10   
Index