String
Specalized when key type is string, more efficient than the generic type
clear
RES
let clear: t<'b> => unitcopy
RES
let copy: t<'a> => t<'a>forEach
RES
let forEach: (t<'b>, (key, 'b) => unit) => unitforEachU
Deprecated
Use forEach instead
RES
let forEachU: (t<'b>, (key, 'b) => unit) => unitfromArray
RES
let fromArray: array<(key, 'a)> => t<'a>get
RES
let get: (t<'a>, key) => option<'a>getBucketHistogram
RES
let getBucketHistogram: t<'a> => array<int>has
RES
let has: (t<'b>, key) => boolisEmpty
RES
let isEmpty: t<'a> => boolkeepMapInPlace
RES
let keepMapInPlace: (t<'a>, (key, 'a) => option<'a>) => unitkeepMapInPlaceU
Deprecated
Use keepMapInPlace instead
RES
let keepMapInPlaceU: (t<'a>, (key, 'a) => option<'a>) => unitkey
RES
type key = stringkeysToArray
RES
let keysToArray: t<'a> => array<key>logStats
RES
let logStats: t<'a> => unitmake
RES
let make: (~hintSize: int) => t<'b>mergeMany
RES
let mergeMany: (t<'a>, array<(key, 'a)>) => unitreduce
RES
let reduce: (t<'b>, 'c, ('c, key, 'b) => 'c) => 'creduceU
Deprecated
Use reduce instead
RES
let reduceU: (t<'b>, 'c, ('c, key, 'b) => 'c) => 'cremove
RES
let remove: (t<'a>, key) => unitset
RES
let set: (t<'a>, key, 'a) => unitsetDone(tbl, k, v) if k does not exist, add the binding k,v, otherwise,
update the old value with the new v
size
RES
let size: t<'a> => intt
RES
type t<'b>toArray
RES
let toArray: t<'a> => array<(key, 'a)>valuesToArray
RES
let valuesToArray: t<'a> => array<'a>