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

Unless log() is a macro of some sort that expands to if(logEnabled){internalLog(string)} - which a good optimizer will see through and not expand the string when logging is disabled.




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

Search: