Kevin Ryde escreveu:
> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
>> See attached patch.
> 
> Sounds worryingly specific to what you're doing.  Perhaps something
> which was just a hook to each function call made (by the debug
> evaluator), with the memoized and unmemoized form if that's necessary.

Since it is run only once for each memoization, it's not a problem performance
wise to have the actual recording routine in Scheme routine, but it 
would need some more careful setting up of traps.

(trap-enable 'memoization)

?

-- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to