ReadonlybitsOne byte per row, 1 for members. Owned by the mask: do not write to it.
ReadonlyindexThe index whose rows the bits refer to.
ReadonlysizeNumber of members.
Member ids in row (depth-first) order.
Whether both masks are over the same index and have the same members.
Whether the span with id is a member.
Whether the span in table row row is a member.
The same mask with row row added or removed. Returns this when nothing changes.
StaticemptyStaticof
A set of spans of one SpanIndex, stored as a byte per table row (1 = member). Membership by row is a single array read, which is what a painter or the row projection needs; membership by id costs one map lookup.
Instances never change: the
with…methods return a new mask.