Immediate.Intern_tablemodule Stats : sig ... endgrow_by n ensures that the intern table can hold at least n additional entries without resizing (again). This is useful for applications which must not pause online for the (substantial) time required to rehash a large intern table.
val after_grow :
(before:Core.Time_ns.t -> len_before:int -> len:int -> unit) ->
unitafter_grow f registers a growth logger. f will be called immediately after every growth of the intern table, with the time and size before and the size after.
f would typically call Time_ns.now to learn the time after.