Hacker News new | past | comments | ask | show | jobs | submit login

I can't remember the precise wording in the standard , but sizeof() is effectively "how many of the minimum addressable thing do you need to store this thing".

The "minimum addressable thing" is called a byte, and on XAP that is a 16-bit value.

Storing a uint8_t wastes a 8 bits, because there isn't anything smaller than an int to put it in.




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

Search: