On 11/5/06, David Vallner <david / vallner.net> wrote:
> <mad-rant>
>
> Hmm. This might have been brought up before, but blocks seem rather
> underpowered with respects to manipulating them?
> </mad-rant>
>
> Of course, this would probably do Cruel and Unusual Things (tm) to block
> performance, and it's possible to mitigate the problem by always
> documenting what methods rescope their block argument, and then users
> actually reading the documentation.

This is basically just a Ruby implementation problem. I'm reading
through the Smalltalk 'Blue Book' now, and it shows that it is
possible to have blocks that are 'real' objects while still offering
very high performance.
This is something we can fix with hard work on the Ruby internals.