Home

Taming message passing: Efficient method look-up for dynamically typed languages


Author(s) : R. Nigel Horspool Jan Vitek, 
Publisher : N/A
Publication Date : 1994
ISSN : N/A
Abstract : Abstract. Method look-up for dynamically typed object-oriented languages, such as SMALLTALK-80 or OBJECTIVE-C, is usually implemented by a cached inheritance search. Unfortunately, this technique is slow. A selector-indexed dispatch table implementation speeds up messages to within 10 % of the speed of a statically typed language such as C++. We present a fast technique for generating compact selector-indexed dispatch tables. 1,