Module K2.MakeSeededSource
Functor building an implementation of a weak hash table. The seed is similar to the one of Hashtbl.MakeSeeded.
Parameters
module H1 : Stdlib.Hashtbl.SeededHashedTypemodule H2 : Stdlib.Hashtbl.SeededHashedTypeSignature
val create : ?random:bool -> int -> 'a tval clear : 'a t -> unitval reset : 'a t -> unitval length : 'a t -> intval stats : 'a t -> Stdlib.Hashtbl.statisticsval add_seq : 'a t -> (key * 'a) Stdlib.Seq.t -> unitval replace_seq : 'a t -> (key * 'a) Stdlib.Seq.t -> unitval of_seq : (key * 'a) Stdlib.Seq.t -> 'a tval clean : 'a t -> unitremove all dead bindings. Done automatically during automatic resizing.
val stats_alive : 'a t -> Stdlib.Hashtbl.statisticssame as Hashtbl.SeededS.stats but only count the alive bindings