A fast method dispatcher for compiled languages with multiple inheritance

  • Authors:
  • R. Dixon;T. McKee;M. Vaughan;P. Schweizer

  • Affiliations:
  • BCD Technology, Inc.;Wright State University;NCR Corporation;BCD Technology, Inc.

  • Venue:
  • OOPSLA '89 Conference proceedings on Object-oriented programming systems, languages and applications
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper addresses the problem of an efficient dispatch mechanism in an object-oriented system with multiple inheritance. The solution suggested is a direct table indexed branch such as is used in C++. The table slot assignments are made using a coloring algorithm. The method is applicable to strongly typed languages such as C++ (with multiple inheritance added) and Eiffel, and in a slightly slower form to less strongly typed languages like Objective C.