module Hashtable: sig .. end
A module that allows hash tables monitoring.
type 'a t
val observe : ?period:int -> string -> 'a -> 'a
observe s h monitors a hash table
h called
s.
One can observe six things about the table:
- hash table length (number of elements inside the table)
- array length (number of entries of the table)
- number of empty buckets
- hash table filling rate
- longest bucket
- mean bucket length