On Thursday, 31 March 2016 at 19:58:54 UTC, H. S. Teoh wrote:
How is this different from bool[T] then? Just the fact that you can't get a reference to the bool?

void[T] could be more efficient, since it wouldn't need to allocate memory for a bool payload. I expect that alignment concerns typically require more than one byte per bool in a bool[T]. (I haven't studied the current implementation, though.)

Reply via email to