r/ProgrammerHumor • • 17d ago

Meme cppAndItsVectorBooleans

Post image
3.4k Upvotes

214 comments sorted by

View all comments

Show parent comment

2

u/autumnal-lights 16d ago edited 16d ago

? i mean isn't this perfect for bits tho? like

~ A & ~ B and then just like

a ~ custom u number_large_enough;

the scans are trivial tho :shrug:

and like workday perfectly fits into u64, and 3 u64's perfectly align with the 24 hours? like? that's perf?