r/cpp • • Feb 23 '26

Bit-field layout

https://maskray.me/blog/2026-02-22-bit-field-layout
28 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/MaskRay ccls Feb 24 '26

1

u/Nicksaurus Feb 24 '26

That's interesting but it's not the same thing. If anything that makes performance worse in exchange for some obfuscation