Frédéric Bour
Results
162
comments of
Frédéric Bour
The solution I would recommend is to wrap expensive computations with this caching function: ```ocaml val cache_changes : 'a Lwd.t -> equal:('a -> 'a -> bool) -> ('a Lwd.t ->...
The reasons I went with this design: ### Why not systematically cache computations? The notion of “equality” is not universally defined. For many types (functions, floats containing NaN, or custom...