Hacker News new | past | comments | ask | show | jobs | submit login

To be fair, tail calls don't require stack frames.

If it's just a matter of keeping up with the bounds of the partitions, I can see that being done in constant space.




This isn’t a tail call situation, though. In order to convert it to iteration you have to use external storage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: