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

That seems to defeat the main advantage (not eating up lots of memory with deep recursion)?


Parent wasn't suggesting to keep full stack frames, but something like (file/function name/line number) tuples, that's not the end of the world. By making it a fixed-size list, you can ensure your memory usage won't blow up.




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

Search: