/[meta-cvs]/meta-cvs/F-C31E700EDDDAF96042E6C4EBC25830C3.lisp
ViewVC logotype

Log of /meta-cvs/F-C31E700EDDDAF96042E6C4EBC25830C3.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to mcvs-0-98: (view) (annotate)
Sticky Tag:

Revision 1.3 - (view) (annotate) - [select for diffs]
Sat Jun 29 02:13:24 2002 UTC (11 years, 9 months ago) by kaz
Branch: MAIN
CVS Tags: mcvs-0-16, mcvs-0-17, mcvs-0-18, mcvs-0-19, mcvs-0-20, mcvs-0-21, mcvs-0-22, mcvs-0-23, mcvs-0-24, mcvs-0-95, mcvs-0-96, mcvs-0-97, mcvs-0-98, mcvs-0-99, mcvs-1-0, mcvs-1-0-1, mcvs-1-0-2, mcvs-1-0-branch~branch-point, partial-sandbox-branch~branch-point, partial-sandbox-branch~merged-to-HEAD-0, symlink-branch~branch-point, symlink-branch~merged-to-HEAD-0
Branch point for: mcvs-1-0-branch, partial-sandbox-branch, symlink-branch
Changes since 1.2: +15 -7 lines
Diff to previous 1.2
* memoize.lisp (memoize-expander): Use ordinary hash for memoizing
monadic functions.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Jun 28 15:13:09 2002 UTC (11 years, 9 months ago) by kaz
Branch: MAIN
CVS Tags: old-convert-hacking-branch~branch-point
Branch point for: old-convert-hacking-branch
Changes since 1.1: +30 -16 lines
Diff to previous 1.1
* memoize.lisp (factor-memo-labels): New function, rips apart
functions generated by memoize-expander, in order to factor
out the multi-hash defining let blocks.
(memoized-labels): Interface corrected. Also, use new function to
generate a labels block that allows for mutually recursive memoized
functions which preserve hash contents across arbitrarily mutually
recursive calls. This is done by enclosing the functions in one big
let block which binds all the hashes.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Jun 28 13:50:01 2002 UTC (11 years, 9 months ago) by kaz
Branch: MAIN
Adding some cool code: a multi-hash datatype which implements
multi-dimensional sparse arrays using a tree of hash tables,
and a function memoizer which uses multi hash to index on
function arguments.

* multi-hash.lisp (multi-hash): New class.
(initialize-instance): New method on multi-hash.
(multi-hash-common-code): New macro.
(get-multi-hash, set-multi-hash): New functions.

* memoize.lisp (define-memoized-function,
memoized-labels): New macros.
(remove-key-aux-rest strip-lambda-list, extract-tests,
remove-tests, memoize-expander): New functions.

* seqfuncs.lisp (lcs-list): Function is now correctly
memoized using define-memoized-function.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5