4 ms·
It's not just recursion, it's calls in general, I guess. (There are other ways of being space-inefficient in functional programs, see the odd versus even stream
by gngeal 14y ago
It's not just recursion, it's calls in general, I guess. (There are other ways of being space-inefficient in functional programs, see the odd versus even streams issue in Scheme.) Are you going to mention tail calls in ES6 in your book, BTW?
- fogus 14y agoSorry for the late response. I will not cover ES6 tail calls very much at all except to mention the possibility for inclusion.