GoblintCil.UtilA bunch of generally useful functions
val memoize : ('a, 'b) Hashtbl.t -> 'a -> ('a -> 'b) -> 'bThis has the semantics of (=) on OCaml 3.07 and earlier. It can handle cyclic values as long as a structure in the cycle has a unique name or id in some field that occurs before any fields that have cyclic pointers.