> > tail recursion is still on the backboiler, it's been discussed many > times over the last few years and while its nice, it's not deemed all > that important. For java its useless, as representative stack traces > are deemed more important than the extremely modest performance gain > of tail recursion
Tail recursion is not about performance. Recursive algorithms crash (StackOverflowError) given enough calls, and that won't happen if they are tail recursive in a language or VM that supports tail recursion. Does the JVM definitely never remove stack frames due to inlining or any other optimisations? -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
