sig
val memory_footprint_var_name : string
val cache_size : int
module type Cacheable =
sig
type t
val hash : Binary_cache.Cacheable.t -> int
val sentinel : Binary_cache.Cacheable.t
val equal :
Binary_cache.Cacheable.t -> Binary_cache.Cacheable.t -> bool
end
module type Result = sig type t val sentinel : Binary_cache.Result.t end
module Make_Symmetric :
functor (H : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge : (H.t -> H.t -> R.t) -> H.t -> H.t -> R.t
end
module Make_Asymmetric :
functor (H : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge : (H.t -> H.t -> R.t) -> H.t -> H.t -> R.t
end
module Make_Binary :
functor (H0 : Cacheable) ->
functor (H1 : Cacheable) ->
sig
val clear : unit -> unit
val merge : (H0.t -> H1.t -> bool) -> H0.t -> H1.t -> bool
end
module Make_Symmetric_Binary :
functor (H0 : Cacheable) ->
sig
val clear : unit -> unit
val merge : (H0.t -> H0.t -> bool) -> H0.t -> H0.t -> bool
end
module Make_Het1_1_4 :
functor (H0 : Cacheable) ->
functor (H1 : Cacheable) ->
functor (H2 : Cacheable) ->
functor (R : Result) ->
sig
val clear : unit -> unit
val merge :
(unit -> R.t) ->
H0.t -> H1.t -> H2.t -> H2.t -> H2.t -> H2.t -> R.t
end
end