package ringo

  1. Overview
  2. Docs

Module Ringo.WeakRingTableSource

Sourcemodule type S = sig ... end
Sourcemodule Make (K : Hashtbl.HashedType) : S with type key = K.t

A bounded table which optimistically cheats on the bound and sometimes counts wrong. Specifically, the table retains a bounded number of elements. It will also retain more if given more than that, but it will always drop back to the bound if the garbage collector intervenes.