From: SASADA Koichi Date: 2012-06-18T21:42:46+09:00 Subject: [ruby-core:45698] Re: [ruby-trunk - Feature #6602] Tail call optimization: enable by default? (2012/06/18 20:29), trans (Thomas Sawyer) wrote: > However, in the the case of tail-recursion, it could be ok since the stack entry is essentially a facsimile of the previous. Do you mean the following code isn't applied tail call optimization? # double recursion (foo -> bar -> foo -> bar -> ...) def foo bar() end def bar() foo() end I agree it is one option for this problem. -- // SASADA Koichi at atdot dot net