summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser/jg_memo.mli
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/browser/jg_memo.mli')
-rw-r--r--otherlibs/labltk/browser/jg_memo.mli9
1 files changed, 3 insertions, 6 deletions
diff --git a/otherlibs/labltk/browser/jg_memo.mli b/otherlibs/labltk/browser/jg_memo.mli
index 8d08111b1..3d5c33252 100644
--- a/otherlibs/labltk/browser/jg_memo.mli
+++ b/otherlibs/labltk/browser/jg_memo.mli
@@ -1,8 +1,5 @@
(* $Id$ *)
-class ['a, 'b] c : fun:('a -> 'b) -> object
- val hash : ('a, 'b) Hashtbl.t
- method clear : unit
- method get : 'a -> 'b
- method reget : 'a -> 'b
-end
+val fast : fun:('a -> 'b) -> 'a -> 'b
+(* "fast" memoizer: uses a List.assq like function *)
+(* Good for a smallish number of keys, phisically equal *)