Skip to content

Add benchmark for BooleanArray::take_n_true#10399

Draft
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/bench-take-n-true
Draft

Add benchmark for BooleanArray::take_n_true#10399
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/bench-take-n-true

Conversation

@alamb

@alamb alamb commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

BooleanArray::take_n_true has no benchmark coverage but I am trying to optimize it (see #10397)

What changes are included in this PR?

Add new take_n_true cases in the existing boolean_kernels benchmark, on 32768-element arrays:

Are these changes tested?

The benchmark compiles and runs (cargo bench --bench boolean_kernels --features test_utils -- --test).

Are there any user-facing changes?

No, benchmark only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alamb
alamb force-pushed the alamb/bench-take-n-true branch from f17b206 to 46663c5 Compare July 20, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant