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

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