Module HashMap.String
Specalized when key type is string, more efficient than the generic type
type key = string;type t('b);let make: hintSize:int => t('b);let clear: t('b) => unit;let isEmpty: t(_) => bool;let set: t('a) => key => 'a => unit;setDone tbl k v if k does not exist, add the binding k,v, otherwise, update the old value with the new v
let copy: t('a) => t('a);let get: t('a) => key => option('a);let has: t('b) => key => bool;let remove: t('a) => key => unit;let forEachU: t('b) => Js.Fn.arity2((key => 'b => unit)) => unit;let forEach: t('b) => (key => 'b => unit) => unit;let reduceU: t('b) => 'c => Js.Fn.arity3(('c => key => 'b => 'c)) => 'c;let reduce: t('b) => 'c => ('c => key => 'b => 'c) => 'c;let keepMapInPlaceU: t('a) => Js.Fn.arity2((key => 'a => option('a))) => unit;let keepMapInPlace: t('a) => (key => 'a => option('a)) => unit;let size: t(_) => int;let toArray: t('a) => array((key, 'a));let keysToArray: t('a) => array(key);let valuesToArray: t('a) => array('a);let fromArray: array((key, 'a)) => t('a);let mergeMany: t('a) => array((key, 'a)) => unit;let getBucketHistogram: t(_) => array(int);let logStats: t(_) => unit;