Stdlib.Ephemeron(3) OCaml library Stdlib.Ephemeron(3)

Stdlib.Ephemeron - no description

Module Stdlib.Ephemeron

Module Ephemeron
: (module Stdlib__Ephemeron)

Unsynchronized accesses

Unsynchronized accesses to a weak hash table may lead to an invalid weak hash table state. Thus, concurrent accesses to a buffer must be synchronized (for instance with a Mutex.t ).

module type S = sig end

The output signature of the functors Ephemeron.K1.Make and Ephemeron.K2.Make . These hash tables are weak in the keys. If all the keys of a binding are alive the binding is kept, but if one of the keys of the binding is dead then the binding is removed.

module type SeededS = sig end

The output signature of the functors Ephemeron.K1.MakeSeeded and Ephemeron.K2.MakeSeeded .

module K1 : sig end

Ephemerons with one key.

module K2 : sig end

Ephemerons with two keys.

module Kn : sig end

Ephemerons with arbitrary number of keys of the same type.

2023-11-11 OCamldoc