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

No need for recursion or multi-threading: If you call the function in a loop and don't release the escaped local unter after the loop, and if the number of loop iterations isn't statically known, then it's impossible to pre-allocate heap storage for that local variable.


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

Search: