From: mirian@... (Mirian Crzig Lennox) Date: 2002-11-07T07:00:38+09:00 Subject: tail recursion Greetings, Ruby hackers! I have a small implementation question: does Ruby support tail recursion optimisation a la Scheme? e.g, if I write the following: def factorial x fail if x < 1 (x == 1) ? x : x * factorial(x - 1) end Am I going to get at most one stack frame or zillions? --Mirian