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?
How much space does an STUArray with Bool elements use for each element? Does
Share
The source code of the array package shows that yes, multiple
Boolare packed together as bits into byte arrays.Doesn’t seem to be documented(?)