Efficient Dispatch of Multimethods in Constant Time Using Dispatch Trees - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 1996

Efficient Dispatch of Multimethods in Constant Time Using Dispatch Trees

Eric Dujardin
  • Fonction : Auteur

Résumé

Optimizing method dispatch is a central issue in object-oriented language implementation. Besides overall efficiency, a major requirement for some languages and applications is constant-time performance. In systems with multi-methods, these requirements are still harder to meet. The compressed dispatch table scheme, presented in (Amiel et al, OOPSLA 94), was the first to meet them. Its compression algorithm is based on the definition of "pole types". In this report, we investigate another structure, namely the dispatch tree, showing that it can also meet those requirements. We show that pole types can be used to compress dispatch trees, and we describe some optimizations of compressed dispatch trees. The resulting run-time structures are yet smaller than compressed dispatch tables.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
RR-2892.pdf (350.82 Ko) Télécharger le fichier

Dates et versions

inria-00073798 , version 1 (24-05-2006)

Identifiants

  • HAL Id : inria-00073798 , version 1

Citer

Eric Dujardin. Efficient Dispatch of Multimethods in Constant Time Using Dispatch Trees. [Research Report] RR-2892, INRIA. 1996. ⟨inria-00073798⟩
165 Consultations
427 Téléchargements

Partager

Gmail Facebook X LinkedIn More