[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
Minimizing Row Displacement Dispatch TablesJuly 1995
1995 Technical Report
Publisher:
  • University of California at Santa Barbara
  • Computer Science Dept. College of Engineering Santa Barbara, CA
  • United States
Published:21 July 1995
Reflects downloads up to 12 Dec 2024Bibliometrics
Skip Abstract Section
Abstract

Row displacement dispatch tables implement message dispatching for dynamically-typed languages with a run time overhead of one memory indirection plus an equality test. The technique is similar to virtual function table lookup, which is, however, restricted to statically typed languages like C++. We show how to reduce the space requirements of dispatch tables to approximately the same size as virtual function tables. The scheme is then generalized for multiple inheritance. Experiments on a number of class libraries from five different languages demonstrate that the technique is effective for a broad range of programs. Finally, we discuss optimizations of the row displacement algorithm that allow dispatch table construction of these large samples to take place in a few seconds.

Contributors
  • Google LLC
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations