Type-safe modular hash-consing
Jean-Christophe Filliâtre, Sylvain Conchon · 2006
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.
Cited by 89 works. doi:10.1145/1159876.1159880
Authors
References
- A Computing Procedure for Quantification Theory
- Graph-Based Algorithms for Boolean Function Manipulation
- A machine program for theorem-proving
- On programming of arithmetic operations
- Anatomy of LISP
- Views: a way for pattern matching to cohabit with data abstraction
- Fast Mergeable Integer Maps
- Fully Symbolic Model Checking of Timed Systems using Difference Decision Diagrams1 1This work was carried out while the authors were at the Department of Information Technology, Technical University of Denmark, and was finnancially supported by a grant from the Danish Technical Research Council.