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

If you have three chars next to each other in a struct, there's a good chance they'll take 4 bytes of memory due to padding. 4 32-bit bools guarantee it'll take 12 at least, if not 16.


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

Search: