A naive question about the speed optimization of anthony

Anthony Hannan ajh18 at cornell.edu
Thu Apr 3 16:00:49 UTC 2003


Stephane Ducasse <ducasse at iam.unibe.ch> wrote:
> Hi
> 
> from my experience loading Squeak in VisualWorks there are some places 
> ofr the imgaeSegment (if I remember well) where you have code like that:
> 
> 
> [:each |
> 		..
> 	..	
> 		..
> 		each := nil]
> 
> which you cannot do with real block-closures. So I guess that all the 
> places where
> block arguments are assigned will have to be checked.
> 
> In my experiment there were around 10 for the complete image.

Actually, the closure compiler allows assignment to arguments to handle
the above cases.  Once we remove these cases we can disallow it in the
compiler.

Cheers,
Anthony



More information about the Squeak-dev mailing list