Module Mlpost__Hashcons
val create : int -> 'a tcreate ncreates an empty table of initial sizen. The table will grow as needed.
val clear : 'a t -> unitRemoves all elements from the table.
val hashcons : 'a t -> 'a -> 'a hash_consedhashcons t nhash-cons the valuenusing tableti.e. returns any existing value intequal ton, if any; otherwise, allocates a new one hash-consed value of nodenand returns it. As a consequence the returned value is physically equal to any equal value already hash-consed using tablet.
val iter : ('a hash_consed -> unit) -> 'a t -> unititer f titeratesfover all elements oft.
val stats : 'a t -> int * int * int * int * int * intReturn statistics on the table. The numbers are, in order: table length, number of entries, sum of bucket lengths, smallest bucket length, median bucket length, biggest bucket length.
module type HashedType = sig ... endmodule type S = sig ... end