Skip to content

BooleanBufferBuilder Append Packed #1038

@tustvold

Description

@tustvold

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

BooleanBufferBuilder currently has no mechanism to append an already packed bitmask, instead requiring bitwise iteration through the mask. This is particularly wasteful where the BooleanBufferBuilder has a length that is a multiple of 8, where a simple memcpy would suffice. I ran into this limitation whilst working on #1037

Describe the solution you'd like

In IOx we have a BitSet implementation that allows directly appending a bitmask - see here. This logic could pretty much just be copied and pasted into arrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions