Skip to main content

Module bitmask

Module bitmask 

Source
Expand description

Packed bitmask — one bit per row, 64-bit words.

The bitmask is the foundation of virtual-frame’s zero-copy filtering. A million-row filter costs 122 KB of bitmask memory. The original data stays untouched. Chained filters AND their bitmasks together — still no data copied, still 122 KB.

Structs§

BitMask
Packed bitmask over N rows. One bit per row, stored in 64-bit words.

Functions§

nwords_for
Compute the number of u64 words needed for nrows bits.