Hashconsing in an incrementally garbage-collected system
Pascal Cuoq, Damien Doligez · 2008
This article describes the implementations of weak pointers, weak hashtables and hashconsing in version 3.10.2 of the Objective Caml system, with focus on several performance pitfalls and their solutions.