Module HashMap.Int
Specalized when key type is int, more efficient than the generic type
type key = inttype 'b tval make : hintSize:int -> 'b tval clear : 'b t -> unitval isEmpty : _ t -> boolval set : 'a t -> 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
val copy : 'a t -> 'a tval get : 'a t -> key -> 'a optionval has : 'b t -> key -> boolval remove : 'a t -> key -> unitval forEachU : 'b t -> (key -> 'b -> unit) Js.Fn.arity2 -> unitval forEach : 'b t -> (key -> 'b -> unit) -> unitval reduceU : 'b t -> 'c -> ('c -> key -> 'b -> 'c) Js.Fn.arity3 -> 'cval reduce : 'b t -> 'c -> ('c -> key -> 'b -> 'c) -> 'cval keepMapInPlaceU : 'a t -> (key -> 'a -> 'a option) Js.Fn.arity2 -> unitval keepMapInPlace : 'a t -> (key -> 'a -> 'a option) -> unitval size : _ t -> intval toArray : 'a t -> (key * 'a) arrayval keysToArray : 'a t -> key arrayval valuesToArray : 'a t -> 'a arrayval fromArray : (key * 'a) array -> 'a tval mergeMany : 'a t -> (key * 'a) array -> unitval getBucketHistogram : _ t -> int arrayval logStats : _ t -> unit