- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
You must log in or register to comment.
gender: impl Any
Gender: true
Gender is a second order tensor, so you should store it as a pointer to an array of pointers for maximum read/write speed.
Even booleans take up 8 bits. And that’s a lot of wasted space.
That’s only due to technical reasons on weird platforms like x86, 64bit x86 or ARM.
My gender is a null-pointer.