3 ms·
Some languages on the jvm (namely scala) do have tail call recursion, meaning that in many cases recursion can use constant stack space
by joshlemer 9y ago
Some languages on the jvm (namely scala) do have tail call recursion, meaning that in many cases recursion can use constant stack space
- chii 9y agoI thought you had to manually mark the method (and/or the recur site) for scala to do tail call optimisations.