Hi Simon, On Dec 24, 2:19 am, Simon Harris <[email protected]> wrote: > Does rubinius perform any kind of TOC or are there any plans?
We currently do not do any tail call optimizations. One big reason is that tail call optimizations typically destroy proper backtrace information. I consider that an unacceptable side-effect for any kind of automatic tail call detection. I might consider some explicit tail call tagging, where the user understands that using it means confusing backtraces. A simple syntax like: return Rubinius.tailcall obj.method(....) would maybe be acceptable. - Evan -- --- !ruby/object:MailingList name: rubinius-dev view: http://groups.google.com/group/rubinius-dev?hl=en post: [email protected] unsubscribe: [email protected]
