Struct BasicRankSelect::Inventory

Nested Relationships

This struct is a nested type of Template Class BasicRankSelect.

Struct Documentation

struct Inventory

the inventory of select for the bits of one value: the bits b are in groups of 2^l, a group starts at the place pos[ j ] (whose top bit marks a sparse group, which spans kSparse places or more), and the bits b at each multiple of 2^g in it are at 16 bits offsets from that place, 2^s = 2^( l - g ) <= 32 of them a group; the last place is the size of the vector

Public Members

int l = 0
int g = 0
int s = 0
std::vector<std::uint64_t> pos
std::vector<std::uint16_t, detail::LineAllocator<std::uint16_t>> off