From: Francis Cianfrocca Date: 2006-05-09T10:44:24+09:00 Subject: Re: Ruby Recursion ------=_Part_47755_5190721.1147139061565 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Does anyone know if Ruby can optimize tail-recursions? On 5/7/06, Bob wrote: > > Hi all, > > I am new to Ruby, and I have only known it through rails. I was > wondering if it's a good idea to use recursion sparingly in Ruby? > How efficiently is it implemented? Do recursive calls only store local > variables or the entire method? > Is there a maximum stack size/depth? > > Thanks! > > Bob > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_47755_5190721.1147139061565--