Comment on Julia, I Love YouparentComments−ricardobeat14y> Recursion is slow in R because R is an interpreted language, and does not implement tail-call optimization.Javascript is interpreted and doesn't have it either, yet it's 145x faster.
Comments
> Recursion is slow in R because R is an interpreted language, and does not implement tail-call optimization.
Javascript is interpreted and doesn't have it either, yet it's 145x faster.