package lru

  1. Overview
  2. Docs

Signature of types with measurable weight.

type t
val weight : t -> int

weight t is a measure of ts contribution towards the total map capacity. Weight must be strictly positive.

OCaml

Innovation. Community. Security.