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

yes, exactly. Access/modification of a directly addressable byte is much faster than some bit of it. If I'm not mistaken, on Win32 `BOOL` data type is defined even worse to a 32bit int (this C API was devised way before `bool` has made it's way into C), so 8bits isn't even the worst case scenario :D


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

Search: