From: Ara.T.Howard@... Date: 2004-08-27T00:55:35+09:00 Subject: Re: is the ruby interpreter stackless? On Thu, 26 Aug 2004, Robert Klemme wrote: > Or does each single call use up so much stack space? I did a simple > recursive function in C and it didn't core prior to level 129536. So > basically that would mean that Ruby uses 10 times the stack space per > invocation. if that is true - it's quite an important observation: def alot_faster end def not_so_fast not_so_fast_0 not_so_fast_1 not_so_fast_2 not_so_fast_3 end def not_so_fast_0 end def not_so_fast_1 end def not_so_fast_2 end def not_so_fast_3 end always true - but perhaps in ruby __particularly__ true. an argument for a preprocessor? -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================