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

The optimal code for const int i = 0; is for the compiler to inline its uses, and for there never to be any storage allocated at all.

;-)



That works unless you use &i somewhere.




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

Search: