This is a deliberate choice. A bitset would be more memory-consuming
but it would be much slower compared to a single byte access (even
with native intrinsics the overhead is visible). Memory is cheaper
nowadays so we've decided to go with bytes. It shouldn't be too hard
to generate a bitset version if you feel desperate to conserve some
memory.
> I believe the space savings would be significant. I have not
Well, it would be 1/8th on the average, but taking into account keys
and values it would be much less...
Dawid