News for hackers. Stuff that matters.
Re:The Functional Style (2018) by julesnp on Friday March 22, 2019 @11:31AM (#19463512)
I've never heard of tail recursion being used as a performance optimization. Generally it's required to prevent a recursive function from blowing the stack.

Iteration is usually more performant than recursion, but doesn't mix well with immutability.

Re:The Functional Style (2018) by Technetium_Hat on Sunday March 24, 2019 @09:55PM (#19479807)
Tail calls _are_ iteration, just expressed as a function.