This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: question about comments in eval.c



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]