Hc.FakeSourceHash-consing module that does not perform hash-consing. This is useful to easily benchmark the impact of hash-consing without having to change your code too much: simply replace Make or Makestrong by Fake.
module H : Hashtbl.HashedTypeRemoves all elements from the table.
hashcons v hash-cons the value v, i.e. returns any existing value equal to v that has already been hash-consed, if any; otherwise, allocates a new hash-consed value with v as a node and returns it. As a consequence the returned value is physically equal to any equal value already hash-consed.
Return statistics about the hash-consing table.
The number of hash-consed values.