guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goops and memoization


From: Mikael Djurfeldt
Subject: Re: goops and memoization
Date: Wed, 20 Nov 2002 22:28:50 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Mikael Djurfeldt <address@hidden> writes:

> Currently, compile-method only makes sure the method has a local
> next-method binding (specific to this method cache entry) if that is
> needed.  However, there are plans to let it make powerful
> optimizations of the code, with great potential of reducing overhead.
>
> It seems to me that what you need to do is to run the tail of the
> cmethod (BODY-FORM1 ...) through your memoizer.  That should fix it.

(An alternative solution is to implement compile-method in C,
memoizing the source code while walking through it.  In fact, that
could mean that we don't need to call procedure-source => no need to
unmemoize code.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]