jon.recoil.org

Module Js_of_ocaml.JstableSource

A minimal table implementation specialized for Js.js_string keys. This is faster than regular OCaml hashtables.

This implementation does not emulate the backtracking behavior of Stdlib.Hashtbl.

Sourcetype 'a t
Sourceval create : unit -> 'a t
Sourceval add : 'a t -> Js.js_string Js.t -> 'a -> unit
Sourceval remove : 'a t -> Js.js_string Js.t -> unit
Sourceval find : 'a t -> Js.js_string Js.t -> 'a Js.optdef
Sourceval keys : 'a t -> Js.js_string Js.t list