Module Ephemeron.Kn

module Kn: sig .. end

Emphemerons with arbitrary number of keys of the same type.


type t('k, 'd);

an ephemeron with an arbitrary number of keys of the same type

let create: int => t('k, 'd);
let get_key: (t('k, 'd), int) => option('k);
let get_key_copy: (t('k, 'd), int) => option('k);
let set_key: (t('k, 'd), int, 'k) => unit;
let unset_key: (t('k, 'd), int) => unit;
let check_key: (t('k, 'd), int) => bool;
let blit_key: (t('k, 'a), int, t('k, 'b), int, int) => unit;
let get_data: t('k, 'd) => option('d);
let get_data_copy: t('k, 'd) => option('d);
let set_data: (t('k, 'd), 'd) => unit;
let unset_data: t('k, 'd) => unit;
let check_data: t('k, 'd) => bool;
let blit_data: (t('k, 'd), t('k, 'd)) => unit;
module Make:
  (H: Hashtbl.HashedType) => Ephemeron.S with type key = array(H.t);

Functor building an implementation of a weak hash table

module MakeSeeded:
  (H: Hashtbl.SeededHashedType) =>
   Ephemeron.SeededS with type key = array(H.t);

Functor building an implementation of a weak hash table.