Module Memo
Tuning
val get_initial_cache_size : unit -> intGet the value used as an initial size when creating a cache.
Generic interface
Functorial interface
module Mk : functor (Cache : Stdlib.Hashtbl.S) -> sig ... endWith the
Mkfunctor, you can also directly provide aCachemodule, which should have the signatureHashtbl.S. We will include your cache module and use it to define amemofunction. It should be useful only if you want to use anotherHashtblimplementation or things like this.
module Make : functor (H : Stdlib.Hashtbl.HashedType) -> sig ... endFunctor that can be useful in case you don't want to use polymorphic equality or you are doing things like hashconsing and you know how to compare or hash your type more efficiently.