3 ms·
s/less powerful systems/systems with lesser compilers/ With TCO, I'd expect the same code from the recursive version. The recursive version has the benefit of
by kazinator 8y ago
s/less powerful systems/systems with lesser compilers/
With TCO, I'd expect the same code from the recursive version.
The recursive version has the benefit of being pure; it doesn't mutate anything. Speaking of which, HN ate your ++.