Skip to content

Comment on Don’t Use Booleansparent

Comments

luuioOP

At the bare metal layer, most booleans are actually transported around as `int` (or WORD size), so there's no real performance benefit to compressing things down to one bit, other than if you really need to save 7 bits in physical storage.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.