Hacker News

Favorites Setup
Comment by quikoa | original | C for Rust programmers
[−]quikoa · 2026-10-10 Sat 15:32 UTC · link
> Also, single bits are rarely used for booleans because it requires more CPU power to extract a single bit.

Not necessarily, on modern CPUs memory access is often the bottleneck. If you have many bits storing these in a bitarray can be quite beneficial for performance.