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

Padding in the post refers to memory alignment.

If we had an "array of structs" instead of "struct of arrays" it would be: string(8) + long(8) + int(4) + padding(4) = 24 bytes



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

Search: