Logo
LogoUniGeSES

ASG list of publications

Citation

Andreas Krall, Jan Vitek, Nigel R. Horspool, "Near Optimal Hierarchical Encoding of Types", in Proc. Proceedings of the European Conference on Object-Oriented Programming, ECOOP'97 (Jyvaskyla, Finland, June, 1997), pp.

Abstract

A type inclusion test is a procedure to decide whether two types are related by a given subtyping relationship. An efficient implementation of the type inclusion test plays an important role in the performance of object oriented programming languages with multiple subtyping like C++, Eiffel or Java. There are well-known methods for performing fast constant time type inclusion tests that use a hierarchical bit vector encoding of the partial ordered set representing the type hierarchy. The number of instructions required by the type inclusion test is proportional to the length of those bit vectors. We present a new algorithm based on graph coloring which computes a near optimal hierarchical encoding of type hierarchies. The new algorithm improves significantly on previous results-- it is faster, simpler and generates smaller bit vectors.

Bibtex

@inproceeding{Kral97b,
Author = "Andreas Krall, Jan Vitek, Nigel R. Horspool",
Title = "Near Optimal Hierarchical Encoding of Types",
Booktitle = "Proceedings of the European Conference on Object-Oriented Programming, ECOOP'97",
Editor = "",
Publisher = "Springer-Verlag",
Pages = "",
Organization = "",
Address = "Jyvaskyla, Finland",
Key = "object-oriented, implementation, compiler, type test, subtyping",
Notes = "",
Month = "June",
Year = "1997"
}
Additional credits :
© 2004-2006 Bibliography Tool based on Marc Falcone's bachelor project.