HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 month agoI have a 64-bit genderlemmy.mlexternal-linkmessage-square8fedilinkarrow-up195arrow-down17cross-posted to: programmerhumor@lemmy.ml
arrow-up188arrow-down1external-linkI have a 64-bit genderlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 month agomessage-square8fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up8·1 month agoEven booleans take up 8 bits. And that’s a lot of wasted space.
minus-square__nobodynowhere@startrek.websitelinkfedilinkEnglisharrow-up3·1 month agoSolution: 1 bit computer
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up3·1 month agoThat’s why you use bitarrays and bitflags instead when you need more than just one or two arguments for a function.
Even booleans take up 8 bits. And that’s a lot of wasted space.
Solution: 1 bit computer
That’s why you use bitarrays and bitflags instead when you need more than just one or two arguments for a function.