Function create_layer

Source
fn create_layer(
    branch_factor: BranchFactor,
    values: IntSet<u32>,
    filled_values: IntSet<u32>,
    nodes: &mut Vec<Node>,
) -> (IntSet<u32>, IntSet<u32>)
Expand description

Compute the nodes for a layer of the sparse bit set.

Computes the nodes needed for the layer which contains the indices in ‘iter’. The new nodes are appended to ‘nodes’. ‘iter’ must be sorted in ascending order.

Returns the set of indices for the layer above.