K2.MakeSeeded
Functor building an implementation of a weak hash table. The seed is similar to the one of Hashtbl.MakeSeeded
.
module H1 : Hashtbl.SeededHashedType
module H2 : Hashtbl.SeededHashedType
val create : ?random:bool -> int -> 'a t
val clear : 'a t -> unit
val reset : 'a t -> unit
val length : 'a t -> int
val stats : 'a t -> Hashtbl.statistics
val clean : 'a t -> unit
remove all dead bindings. Done automatically during automatic resizing.
val stats_alive : 'a t -> Hashtbl.statistics
same as Hashtbl.SeededS.stats
but only count the alive bindings