On Sat, May 02, 2015 at 08:57:25PM +0100, Will Godfrey wrote:
What masking?
Presumably bits have to be masked when being set or read to provide the boolean
action. I wouldn't expect true single bit direct storage to be available.
No, the compiler will use one of the available int sizes (again
depending on CPU) and just test for zero/not-zero. It will not
try to use each bit separately.
For arrays of bool, GCC uses a char for each bool.
Ciao,
--
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)