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

In C, static structs that are not zero-initialized or uninitialized (i.e. that are statically to something else than zero) increase the binary size (they go into the data segment, i.e. even if you only initialize one field of a struct, the binary contains a full image of the full struct); this has nothing to do with the stack in C, but I don't know about Swift.


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

Search: