From: Gokulakannan Somasundaram on
Hi,
I was looking at the VarBit data structure and found out that instead of
storing the number of bits in four bytes, we can save the number of bits
that are valid in the last byte. Since we already store the number of bytes
in Varlena Header, we can calculate the number of valid bits by doing the
small math. ( (No. of bytes-1) * 8 + valid bits in the last byte).
This would save atleast 8 bytes for someone, who is using the varbit data
type using less than 24 bits.

Waiting for comments.

Thanks,
Gokul.