Module type Lru.Weighted

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.