stackyFACTS
Technology

Boolean variables consume entire bytes instead of single bits

HERE’S THE INTERESTING PART

Welcome to the illusion of efficiency. While you think a boolean true/false takes up a single bit, processor memory architecture physically forces it to consume an entire 8-bit byte, wasting seven perfectly good bits just to keep memory addresses aligned.

Boolean variables consume entire bytes instead of single bits
STACKY / Technology
One discovery leads to another.

Keep exploring facts in this topic.

Technology →
STACKY FOR IPHONE

A bigger world.
One discovery
at a time.

Keep discovering with Stacky. Interesting facts in an app that is always within reach.

Download on the App Store
ONE MORE DISCOVERY?

Keep exploring

All in this topic →
StackyMore discoveries in the app
Download on the App Store