Js_of_ocaml.Jstable
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
.
val create : unit -> 'a t
val add : 'a t -> Js.js_string Js.t -> 'a -> unit
val remove : 'a t -> Js.js_string Js.t -> unit
val find : 'a t -> Js.js_string Js.t -> 'a Js.optdef
val keys : 'a t -> Js.js_string Js.t list