Module Jstable

module Jstable : sig..end

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 Hashtbl.

type 'a t
val create : unit -> 'a t
val add : 'a t -> Js.js_string Js.t -> 'a -> unit
val find : 'a t -> Js.js_string Js.t -> 'a Js.optdef
val keys : 'a t -> Js.js_string Js.t list