Module CamomileLibrary.UCharTbl

Fast lookup tables for Unicode. Accessible by constant time.

type 'a tbl

Fast lookup tables. Accessible by constant time.

type 'a t = 'a tbl
val get : 'a tbl -> UChar.t -> 'a
module type Type = sig ... end
module Make : functor (H : Stdlib.Hashtbl.HashedType) -> Type with type elt = H.t

Equality and hash are necessary for table generation.

module Bool : sig ... end

Tables for boolean values.

module Bits : sig ... end

Tables for small (< 256, >=0) integers

module Bytes : sig ... end

Tables for integers. If integers are not span the whole 31-bit or 63-bit values, Bytes.t is more space efficient than int tbl.

module Char : sig ... end

Tables for bytes.