guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] experimental lookupcar based coverage testing.


From: Han-Wen Nienhuys
Subject: Re: [PATCH] experimental lookupcar based coverage testing.
Date: Fri, 19 Jan 2007 11:40:05 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061219)

Kevin Ryde escreveu:
> Han-Wen Nienhuys <address@hidden> 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 - address@hidden - http://www.xs4all.nl/~hanwen





reply via email to

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