Hacker News new | ask | show | jobs
by Beltiras 1478 days ago
Tail calls have a collector that accumulates the result, very similar pattern as in the example. It's an optimization in LISP and similar languages.