3 ms·
Wouldn't bit-shifting to store booleans in 1 bit actually decrease performance, for minimum size improvement?
by rastapasta42 10y ago
Wouldn't bit-shifting to store booleans in 1 bit actually decrease performance, for minimum size improvement?
- mannykannot 10y agoWhen you have caching and also when you have dynamic allocation, size has its costs. Not every time and certainly not linearly, but more likely than the opposite.