Module LRU_cache.Make

Parameters

Signature

type key = K.t
type 'v t
val create : max_size:int -> unit -> _ t
val size : _ t -> int
val clear : _ t -> unit
val get : 'v t -> key -> 'v option
val set : 'v t -> key -> 'v -> unit