How much space does an STUArray
with Bool
elements use for each element? Does it actually pack things down to one bit? Or does it use an entire byte per element?
The source code of the array package shows that yes, multiple Bool
are packed together as bits into byte arrays.
Doesn't seem to be documented(?)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With