Skip to content

get rid of relative_indices in BitPackedArray::take #1039

@lwwmanning

Description

@lwwmanning

It's likely much faster (no iterators, no heap allocation) to simply scan forward on the next UNPACK_CHUNK_THRESHOLD indices (i.e., 8 elements) to see if they're all in a single chunk, then greedily keep taking until we encounter one in a different chunk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions