Hc.FakeHash-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.HashedTypetype key = H.tThe type of value that are being hash-consed.
val hashcons : key -> key hash_consedhashcons 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.
val stats : unit -> Hashtbl.statisticsReturn statistics about the hash-consing table.