package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

Dune Dependency

Authors

Maintainers

Sources

devkit-1.20240429.tbz
sha256=222f8ac131b1d970dab7eeb2714bfd6b9338b88b1082e6e01c136ae19e7eaef4
sha512=c9e6d93e3d21e5530c0f4d5baca51bf1f0a5d19248f8af7678d0665bb5cdf295d7aaaaa3e50eb2e44b8720e55097cc675af4dc8ec45acf9da39feb3eae1405d5

doc/devkit.core/Devkit_core/Cache/LRU/index.html

Module Cache.LRUSource

Parameters

Signature

Sourcetype 'v t
Sourceval create : int -> 'v t
Sourceval put : 'v t -> K.t -> 'v -> unit
Sourceval put_evicted : 'v t -> K.t -> 'v -> (K.t * 'v) option
Sourceval get : 'v t -> K.t -> 'v
Sourceval get_evicted : 'v t -> K.t -> 'v * (K.t * 'v) option
Sourceval find : 'v t -> K.t -> 'v
Sourceval replace : 'v t -> K.t -> 'v -> unit
Sourceval remove : 'v t -> K.t -> unit
Sourceval miss : 'v t -> int
Sourceval hit : 'v t -> int
Sourceval mem : 'v t -> K.t -> bool
Sourceval size : 'v t -> int
Sourceval iter : (K.t -> 'v -> unit) -> 'v t -> unit
Sourceval lru_free : 'v t -> int
Sourceval lfu_free : 'v t -> int
OCaml

Innovation. Community. Security.