Hacker News new | ask | show | jobs
by fjh 2814 days ago
Why would languages without tail recursion optimisation perform worse when all languages use the naive implementation? It's not tail recursive, so it shouldn't make a difference, right?
1 comments

You're right that tail recursion doesn't help - the final operation is the addition, not a recursive call.