Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The front of the list can be garbage collected, so the Haskell version can be O(1) in memory.


Ignoring growth in the size of the output itself (and the intermediary values that are output of earlier stages), anyway...




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

Search: