This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: question about comments in eval.c
- To: sen_ml at eccosys dot com
- Subject: Re: question about comments in eval.c
- From: Jost Boekemeier <jostobfe at linux dot zrz dot TU-Berlin dot DE>
- Date: 07 Aug 2000 17:35:45 +0200
- Cc: guile at sourceware dot cygnus dot com
- References: <20000807195511Y.1001@eccosys.com>
> but i don't understand what memoization of variables is
> supposed to mean.
They are converted into gloc's and iloc's. Take the variable
(a vcell/a pair), add one and this vcell becomes a memoized
variable. You don't have to look it up again.
The problem is that guile supports (undefine ...). Since $n$ memoized
expressions hold a copy of the (now undefined) variable guile has to
unmemoize every expression (so that the evaluator has to look it up
again).
Ugly, but this will all disappear when we have the new evaluator.
Jost