Eight bit cells show 10100000. Only offsets 0 and 2 are set; the underlying byte is A0 and BITCOUNT is 2.

Redis bitmaps flip bits instead of storing numbers

A Redis bitmap is a string interpreted as individual bits, not a separate key type. It is useful for dense yes/no membership such as daily activity. Ten million contiguous flags need 1,250,000 payload bytes, but that estimate excludes keys, object metadata, allocation overhead, and any mapping from business identifiers to bit positions. ...

April 29, 2027 · 6 min · XB Field Notes