Skip to content

Faster BoolArray::min_max via true_count instead of set_slices#7599

Open
robert3005 wants to merge 1 commit intodevelopfrom
rk/boolminmax
Open

Faster BoolArray::min_max via true_count instead of set_slices#7599
robert3005 wants to merge 1 commit intodevelopfrom
rk/boolminmax

Conversation

@robert3005
Copy link
Copy Markdown
Contributor

@robert3005 robert3005 commented Apr 22, 2026

There's no need to compute valid slices, we can just use true_count

fix #7598

Signed-off-by: Robert Kruszewski github@robertk.io

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added the changelog/performance A performance improvement label Apr 22, 2026
@robert3005 robert3005 enabled auto-merge (squash) April 22, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/performance A performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bool Min/Max is slow

1 participant