Skip to content

[C++] Refine TransferBitmap template parameters #17208

Description

@asfimport

TransferBitmap has two template parameters of bool type with four combinations.
Change them to function parameters can reduce code size. I think "restore_trailing_bits" cannot impact performance. "invert_bits" needs benchmark.
Also, bool parameter is hard to figure out at caller side, better to use meaningful defines.

Reporter: Yibo Cai / @cyb70289
Assignee: Yibo Cai / @cyb70289

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-8974. Please see the migration documentation for further details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions