From: gabriele renzi Date: 2005-12-19T04:37:46+09:00 Subject: Re: Ruby tail recursion gwtmp01@mac.com ha scritto: > On Dec 18, 2005, at 9:57 AM, jwesley wrote: > >> I found that ~1300 is the maximum depth of the stack on my machine.... >> So I can't use recursion to iterate over more than ~1300 items. > > > I hope people do realize that they can change the > maximum size of the stack allocated to their ruby process. For > example on Mac OS X using bash: IIRC ruby 1.9 even has Process.setrlimit as a builtin, not sure about 1.8.4 .