module type S = sig ... end
Signature of mutable LRU maps.
module Make : functor (K : Stdlib.Hashtbl.HashedType) -> functor (V : Weighted) -> S with type k = K.t and type v = V.t
Make(K)(V)
is the LRU map with bindings K.t -> V.t
. The weight of an individual binding is the Weighted.weight
of V.t
.
module MakeSeeded : functor (K : Stdlib.Hashtbl.SeededHashedType) -> functor (V : Weighted) -> S with type k = K.t and type v = V.t
MakeSeeded(K)(V)
is a variant backed by Hashtbl
.SeededS.