Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
russdill
23 days ago
|
parent
|
context
|
favorite
| on:
How many options fit into a boolean?
Um, no. Please show me how you can fit 255 possible states in something smaller than a byte by using bitfields.
RobotToaster
23 days ago
[–]
I was quoting the first paragraph, where it says a single normal bool takes a byte.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: