Real closures

Klaus D. Witzel klaus.witzel at
Sat Oct 7 22:45:29 UTC 2006

On Sun, 08 Oct 2006 00:35:19 +0200, Andreas Raab wrote:
> Klaus D. Witzel wrote:
>> Andreas, have you looked at the implementor of #createBlock: and the  
>> associated BlockClosure class (both are in the 3.9 image). The latter  
>> has a class comment (I know, that's a rarity ;-) On the instance side,  
>> there's a message category #evaluating, equally interesting.
> I have not. Thanks for pointing it out.
>> I doubt that you will ever use BlockClosure in one of your performance  
>> sensitive projects, especially when the messages you need are in  
>> {#value. #value:} etc.
> Not sure about this. There are issues with our current contexts, BIG  
> issues. So big that I'd very seriously consider accepting a slowdown in  
> exchange to fixing these problems.

:) Mathieu: hurry up, potential users are waiting for sensible performance  
comparisions :) Are there already benchmarks available for exhibiting the  
slowdown experienced with instance variables accessed from BlockClosures?


> Cheers,
>    - Andreas

More information about the Squeak-dev mailing list