{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T20:41:43Z","timestamp":1791232903199,"version":"4.1.0"},"reference-count":82,"publisher":"Association for Computing Machinery (ACM)","issue":"6","license":[{"start":{"date-parts":[[2008,10,1]],"date-time":"2008-10-01T00:00:00Z","timestamp":1222819200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100002887","name":"Conseil R\u00e9gional Languedoc-Roussillon","doi-asserted-by":"publisher","award":["34750"],"award-info":[{"award-number":["34750"]}],"id":[{"id":"10.13039\/501100002887","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2008,10]]},"abstract":"<jats:p>\n            Subtype tests are an important issue in the implementation of object-oriented programming languages. Many techniques have been proposed, but none of them perfectly fulfills the five requirements that we have identified: constant-time, linear-space, multiple inheritance, dynamic loading and inlining. In this article, we propose a subtyping test implementation that involves a combination of usual hashtables and Cohen's display, which is a well-known technique for single inheritance hierarchies. This novel approach is based on\n            <jats:italic>perfect hashing<\/jats:italic>\n            , that is, an optimized and truly constant-time variant of hashing that applies to\n            <jats:italic>immutable<\/jats:italic>\n            hashtables. We show that the resulting technique closely meets all five requirements. Furthermore, in the framework of Java-like languages\u2014characterized by single inheritance of classes and multiple subtyping of interfaces\u2014perfect hashing also applies to method invocation when the receiver is typed by an interface. The proposed technique is compared to some alternatives, including the proposal by Palacz and Vitek [2003]. Time-efficiency is assessed at the cycle level in the framework of Driesen's pseudo-code and the linear-space criterion is validated by statistical simulation on benchmarks consisting of large-scale class hierarchies.\n          <\/jats:p>","DOI":"10.1145\/1391956.1391960","type":"journal-article","created":{"date-parts":[[2008,11,6]],"date-time":"2008-11-06T13:49:43Z","timestamp":1225979383000},"page":"1-56","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":17,"title":["Perfect hashing as an almost perfect subtype test"],"prefix":"10.1145","volume":"30","author":[{"given":"Roland","family":"Ducournau","sequence":"first","affiliation":[{"name":"LIRMM--CNRS and Universit\u00e9 Montpellier II, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,10,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/67544.66950"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/59287.59293"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1328438.1328480"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/504282.504291"},{"key":"e_1_2_1_5_1","volume-title":"Proceedings of the USENIX JVM'01","author":"Alpern B."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/236338.236371"},{"key":"e_1_2_1_7_1","unstructured":"Barnes J. 1995. Programming In Ada 95 first edition. Addison-Wesley Reading MA.   Barnes J. 1995. Programming In Ada 95 first edition. Addison-Wesley Reading MA."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/165854.165905"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/800230.806984"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/583810.583821"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/115372.115297"},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the Joint Modular Languages Conference. Lecture Notes in Computer Science","volume":"1204","author":"Collin S."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/41.6.416"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(96)00146-6"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386232"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/74877.74900"},{"key":"e_1_2_1_17_1","unstructured":"Driesen K. 1993a. Method lookup strategies in dynamically typed object-oriented programming languages. M.S. dissertation Vrije Universiteit Brussel.  Driesen K. 1993a. Method lookup strategies in dynamically typed object-oriented programming languages. M.S. dissertation Vrije Universiteit Brussel."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/165854.165902"},{"key":"e_1_2_1_19_1","doi-asserted-by":"crossref","unstructured":"Driesen K. 2001. Efficient Polymorphic Calls. Kluwer Academic Publisher.   Driesen K. 2001. Efficient Polymorphic Calls. Kluwer Academic Publisher.","DOI":"10.1007\/978-1-4615-1681-1"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/217838.217851"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the European Conference on Object-Oriented Programming (ECOOP'95)","volume":"952","author":"Driesen K."},{"key":"e_1_2_1_22_1","unstructured":"Ducournau R. 1991. Yet Another Frame-based Object-Oriented Language: YAFOOL Reference Manual. Sema Group Montrouge France.  Ducournau R. 1991. Yet Another Frame-based Object-Oriented Language: YAFOOL Reference Manual. Sema Group Montrouge France."},{"key":"e_1_2_1_23_1","first-page":"241","article-title":"La compilation de l'envoi de message dans les langages dynamiques","volume":"3","author":"Ducournau R.","year":"1997","journal-title":"L'Objet"},{"key":"e_1_2_1_24_1","unstructured":"Ducournau R. 2002a. Implementing statically typed object-oriented programming languages. Rapport de Recherche 02-174 LIRMM Universit\u00e9 Montpellier 2.  Ducournau R. 2002a. Implementing statically typed object-oriented programming languages. Rapport de Recherche 02-174 LIRMM Universit\u00e9 Montpellier 2."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.3166\/objet.8.1-2.79-98"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.5555\/645790.758192"},{"key":"e_1_2_1_27_1","unstructured":"Ducournau R. 2006. Coloring a versatile technique for implementing object-oriented languages. Rapport de Recherche 06-001 LIRMM Universit\u00e9 Montpellier 2.  Ducournau R. 2006. Coloring a versatile technique for implementing object-oriented languages. Rapport de Recherche 06-001 LIRMM Universit\u00e9 Montpellier 2."},{"key":"e_1_2_1_28_1","unstructured":"Ellis M. and Stroustrup B. 1990. The Annotated C++ Reference Manual. Addison-Wesley Reading MA US.   Ellis M. and Stroustrup B. 1990. The Annotated C++ Reference Manual. Addison-Wesley Reading MA US."},{"key":"e_1_2_1_29_1","volume-title":"Proceedings of the International Conference on Knowledge Retrieval and Storage for Efficiency (KRUSE'95)","author":"Fall A.","year":"1995"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1111\/0824-7935.00076"},{"key":"e_1_2_1_31_1","volume-title":"Proceedings of the USENIX JVM'01","author":"Gagnon E. M."},{"key":"e_1_2_1_32_1","unstructured":"Garey M. and Johnson D. 1979. Computers and Intractability. A Guide to the Theory of NP-Completeness. Freeman San Francisco CA.   Garey M. and Johnson D. 1979. Computers and Intractability. A Guide to the Theory of NP-Completeness. Freeman San Francisco CA."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1086642.1086643"},{"key":"e_1_2_1_34_1","unstructured":"Goldberg A. and Robson D. 1983. Smalltalk-80 the Language and its Implementation. Addison-Wesley Reading MA.   Goldberg A. and Robson D. 1983. Smalltalk-80 the Language and its Implementation. Addison-Wesley Reading MA."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/506315.506316"},{"key":"e_1_2_1_36_1","volume-title":"Proceedings of the International Conference on Knowledge Retrieval and Storage for Efficiency (KRUSE'95)","author":"Habib M."},{"key":"e_1_2_1_37_1","volume-title":"Eds. Lecture Notes in Computer Science","volume":"831","author":"Habib M."},{"key":"e_1_2_1_38_1","volume-title":"Proceedings of the International Conference on Knowledge Retrieval and Storage for Efficiency (KRUSE'97)","author":"Habib M."},{"key":"e_1_2_1_39_1","unstructured":"Harbinson S. P. 1992. Modula-3. Prentice-Hall Englewood Cliffs NJ.   Harbinson S. P. 1992. Modula-3. Prentice-Hall Englewood Cliffs NJ."},{"key":"e_1_2_1_40_1","volume-title":"Proceedings of the IEEE International Conference on Automated Software Engineering (ASE'2000)","author":"Huchard M."},{"key":"e_1_2_1_41_1","doi-asserted-by":"crossref","unstructured":"Jensen T. R. and Toft B. 1995. Graph Coloring Problems. Wiley New York.  Jensen T. R. and Toft B. 1995. Graph Coloring Problems. Wiley New York.","DOI":"10.1002\/9781118032497"},{"key":"e_1_2_1_42_1","doi-asserted-by":"crossref","unstructured":"Kiczales G. des Rivi\u00e8res J. and Bobrow D. 1991. The Art of the Meta-Object Protocol. MIT Press Cambridge MA.   Kiczales G. des Rivi\u00e8res J. and Bobrow D. 1991. The Art of the Meta-Object Protocol. MIT Press Cambridge MA.","DOI":"10.7551\/mitpress\/1405.001.0001"},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the 4th International Symposium on Distributed Objects and Applications. OMG.","author":"Klefstad R."},{"key":"e_1_2_1_44_1","unstructured":"Knuth D. E. 1973. The Art of Computer Programming Sorting and Searching. Vol. 3. Addison-Wesley Reading MA.  Knuth D. E. 1973. The Art of Computer Programming Sorting and Searching. Vol. 3. Addison-Wesley Reading MA."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1096-9128(199711)9:11<1017::AID-CPE347>3.0.CO;2-0"},{"key":"e_1_2_1_46_1","volume-title":"Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97)","volume":"1241","author":"Krall A."},{"key":"e_1_2_1_47_1","unstructured":"Lippman S. 1996. Inside the C++ Object Model. Addison-Wesley Reading MA.   Lippman S. 1996. Inside the C++ Object Model. Addison-Wesley Reading MA."},{"key":"e_1_2_1_48_1","unstructured":"Liskov B. Curtis D. Day M. Ghemawat S. Gruber R. Johnson P. and Myers A. C. 1995. THETA reference manual. Technical report. MIT Cambridge MA.  Liskov B. Curtis D. Day M. Ghemawat S. Gruber R. Johnson P. and Myers A. C. 1995. THETA reference manual. Technical report. MIT Cambridge MA."},{"key":"e_1_2_1_49_1","volume-title":"Algorithms and Complexity. Handbook of Theretical Computer Science","volume":"1","author":"Mehlhorn K."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.5555\/129093"},{"key":"e_1_2_1_51_1","unstructured":"Meyer B. 1997. Object-Oriented Software Construction second ed. Prentice-Hall Englewood Cliffs NJ.   Meyer B. 1997. Object-Oriented Software Construction second ed. Prentice-Hall Englewood Cliffs NJ."},{"key":"e_1_2_1_52_1","doi-asserted-by":"crossref","unstructured":"Meyer J. and Downing T. 1997. JAVA Virtual Machine. O'Reilly.   Meyer J. and Downing T. 1997. JAVA Virtual Machine. O'Reilly.","DOI":"10.1016\/S1353-4858(97)83033-4"},{"key":"e_1_2_1_53_1","unstructured":"Microsoft. 2001. C&num; Language specifications v0.28. Technical report Microsoft Corporation Seattle WA.  Microsoft. 2001. C&num; Language specifications v0.28. Technical report Microsoft Corporation Seattle WA."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/362851.362882"},{"key":"e_1_2_1_55_1","doi-asserted-by":"crossref","unstructured":"M\u00f6ssenb\u00f6ck H. 1993. Object-Oriented Programming in Oberon-2. Springer-Verlag New York.   M\u00f6ssenb\u00f6ck H. 1993. Object-Oriented Programming in Oberon-2. Springer-Verlag New York.","DOI":"10.1007\/978-3-642-97479-3_2"},{"key":"e_1_2_1_56_1","volume-title":"Proceedings of the ACM-SIAM Symposium on Discrete Algorithms. ACM\/SIAM","author":"Muthukrishnan S."},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/217838.217849"},{"key":"e_1_2_1_58_1","unstructured":"Odersky M. Spoon L. and Venners B. 2008. Programming in Scala A comprehensive step-by-step guide. Artima.   Odersky M. Spoon L. and Venners B. 2008. Programming in Scala A comprehensive step-by-step guide. Artima."},{"key":"e_1_2_1_59_1","volume-title":"Proceedings of the 17th European Conference on Object-Oriented Programming (ECOOP'03)","volume":"2743","author":"Palacz K."},{"key":"e_1_2_1_60_1","volume-title":"Tech. Rep. 156, Eidgenossische Techniscle Hochschule Zurich--Departement Informatik.","author":"Pfister B. H. C.","year":"1991"},{"key":"e_1_2_1_61_1","unstructured":"Privat J. 2006. PRM the language. version 0.2. Rapport de Recherche 06-029 LIRMM Universit\u00e9 Montpellier 2.  Privat J. 2006. PRM the language. version 0.2. Rapport de Recherche 06-029 LIRMM Universit\u00e9 Montpellier 2."},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/1108792.1108799"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/93542.93556"},{"key":"e_1_2_1_64_1","volume-title":"Tech. Rep. CS-93-22","author":"Pugh W.","year":"1993"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0020-0190(97)00192-0"},{"key":"e_1_2_1_66_1","volume-title":"Proceedings of the 15th European Conference on Object-Oriented Programming (ECOOP'01)","volume":"2072","author":"Raynaud O."},{"key":"e_1_2_1_67_1","volume-title":"Proceedings of the USENIX C++ Conference. 87--102","author":"Schmidt D. C.","year":"1990"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1109\/MC.1983.1654198"},{"key":"e_1_2_1_69_1","unstructured":"Shalit A. 1997. The Dylan Reference Manual: The Definitive Guide to the New Object-Oriented Dynamic Language. Addison-Wesley Reading MA.   Shalit A. 1997. The Dylan Reference Manual: The Definitive Guide to the New Object-Oriented Dynamic Language. Addison-Wesley Reading MA."},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1145\/359863.359887"},{"key":"e_1_2_1_71_1","unstructured":"Steele G. 1990. Common Lisp the Language Second ed. Digital Press.   Steele G. 1990. Common Lisp the Language Second ed. Digital Press."},{"key":"e_1_2_1_72_1","unstructured":"Stroustrup B. 1998. The C++ Programming Language 3e ed. Addison-Wesley Reading MA.  Stroustrup B. 1998. The C++ Programming Language 3 e ed. Addison-Wesley Reading MA."},{"key":"e_1_2_1_73_1","volume-title":"Ada 2005 Reference Manual: Language and Standard Libraries. Lecture Notes in Computer Science","volume":"4348","author":"Taft S. T."},{"key":"e_1_2_1_74_1","unstructured":"Takhedmit P. 2003. Coloration de classes et de propri\u00e9t\u00e9s : \u00e9tude algorithmique et heuristique. M.S. thesis Universit\u00e9 Montpellier 2.  Takhedmit P. 2003. Coloration de classes et de propri\u00e9t\u00e9s : \u00e9tude algorithmique et heuristique. M.S. thesis Universit\u00e9 Montpellier 2."},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.1145\/359168.359175"},{"key":"e_1_2_1_76_1","doi-asserted-by":"publisher","DOI":"10.1145\/263698.263730"},{"key":"e_1_2_1_77_1","volume-title":"Algorithms and Complexity. Handbook of Theretical Computer Science","volume":"1","author":"Vitter J. S."},{"key":"e_1_2_1_78_1","unstructured":"Warren H. S. 2003. Hacker's Delight. Addison-Wesley Reading MA.   Warren H. S. 2003. Hacker's Delight. Addison-Wesley Reading MA."},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380180707"},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1145\/263698.263728"},{"key":"e_1_2_1_81_1","doi-asserted-by":"publisher","DOI":"10.1145\/604131.604143"},{"key":"e_1_2_1_82_1","volume-title":"Proceedings of the 17th European Conference on Object-Oriented Programming. Lecture Notes in Computer Science","volume":"2743","author":"Zibin Y."}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1391956.1391960","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1391956.1391960","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T14:47:13Z","timestamp":1750258033000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1391956.1391960"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,10]]},"references-count":82,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2008,10]]}},"alternative-id":["10.1145\/1391956.1391960"],"URL":"https:\/\/doi.org\/10.1145\/1391956.1391960","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,10]]},"assertion":[{"value":"2005-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-10-30","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}