Pit Capitain <pit / capitain.de> writes:

> Christian Neukirchen <chneukirchen <at> gmail.com> writes:
>> The real question is why the Ruby interpreter doesn't do tail-call
>> optimization...
>
> The interpreter doesn't do this automatically. You have to tell him :-)

I know that, but there is no reason it couldn't... while your code
surely is a nice hack, it's nowhere close to the real thing.

> Note that this is just a proof of concept and hasn't been tested thoroughly.
>
> Regards,
> Pit
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org