[ANN] Closure Compiler
Avi Bryant
avi at beta4.com
Wed Feb 5 07:31:50 UTC 2003
On Tue, 4 Feb 2003, Anthony Hannan wrote:
> Since your not unwinding, what's the difference between terminating
> (nilling out contexts) and just letting the whole chain get garbage
> collected. At least the latter will allow someone to hold onto it if he
> wants it later.
It's necessary in particular for BlockContext, which if not nilled out
refuses to be evaluated again. It also seemed to make a difference for
the old exception code, although I don't have a test case for that, so I
don't know if it would still apply.
You'll find the test cases for Continuation and Amb won't run properly
without the termination - at least not without recompiling TestRunner to
use BlockClosure instead of BlockContext.
More information about the Squeak-dev
mailing list
|