Type-safe modular hash-consing

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Hash-consing is a technique to share values that are structurally equal. Beyond the obvious advantage of saving memory blocks, hash-consing may also be used to speed up fundamental operations and data structures by several orders of magnitude when sharing is maximal. This paper introduces an OCAML hash-consing library that encapsulates hash-consed terms in an abstract datatype, thus safely ensuring maximal sharing. This library is also parameterized by an equality that allows the user to identify terms according to an arbitrary equivalence relation.

Original languageEnglish
Title of host publicationProceedings of the ACM SIGPLAN 2006 Workshop on ML
PublisherAssociation for Computing Machinery (ACM)
Pages12-19
Number of pages8
ISBN (Print)1595934839, 9781595934833
DOIs
Publication statusPublished - 1 Jan 2006
Externally publishedYes
EventACM SIGPLAN 2006 Workshop on ML - Portland, OR, United States
Duration: 16 Sept 200616 Sept 2006

Publication series

NameProceedings of the ACM SIGPLAN 2006 Workshop on ML
Volume2006

Conference

ConferenceACM SIGPLAN 2006 Workshop on ML
Country/TerritoryUnited States
CityPortland, OR
Period16/09/0616/09/06

Keywords

  • Data structures
  • Hash-consing
  • Sharing

Fingerprint

Dive into the research topics of 'Type-safe modular hash-consing'. Together they form a unique fingerprint.

Cite this