From: Jano Svitok Date: 2007-09-01T01:31:54+09:00 Subject: Re: Why stack overflow with such a small stack? On 8/31/07, Kyle Schmitt wrote: > Heh, This is one of the few languages I haven't had that happen to to > me on before. > > Lisp, C, C++, Perl... but I haven't caused one of those on _ruby_ before. > > Now, if you've really intended to do recursion, try making it tail recursive. > > Err... Ruby does optimize for tail recursion, right? I'm not sure, after some googling it seems that 1.8 doesn't and YARV might partially optimize.