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

Is it just me or is the author using static wrong? Someone mentioned it in the thread on the previous post, where it felt more like an oversight. But in this article it seems much more like an actual misunderstanding. Should it actually be the function level static variable? I feel like in the right context the optimizer might be able to leave that in a register if there the calling function is in the compilation unit.


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

Search: