Real closures

Mathieu mathk.sue at
Sun Oct 8 08:28:37 UTC 2006

Klaus D. Witzel a écrit :
> 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?
> /Klaus
>> Cheers,
>>    - Andreas

Sorry I had to sleep I didn't saw your email.
I don't really know if there are benchmarks available but the best way to ask them is to ask either
Marcus or in the NewCompiler mailing list.


More information about the Squeak-dev mailing list