-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add nullif_kernel benchmark #9089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
94fe993 to
d171d8b
Compare
| /// # Panic | ||
| /// | ||
| /// Panics if any of the [`BooleanArray`] contain nulls | ||
| #[inline(never)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these inline tags for profiling or performance?
| impl Default for RowSelectionPolicy { | ||
| fn default() -> Self { | ||
| Self::Auto { threshold: 32 } | ||
| Self::Auto { threshold: 16 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a great call @Weijun-H -- this is left over code that was not indended for this PR. Sorry about that I will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in 7266d10
Which issue does this PR close?
nullifkernel #9085BooleanBuffer::from_bitwise_binary#9022Rationale for this change
the
nullifkernel has an optimization for counting nulls as part of applying nullif, and I did not know if that made a difference (turns out it does).I made a benchmark to be able to measure this difference
What changes are included in this PR?
Add a
nullif_kernelbenchmarkAre these changes tested?
I ran them manually
Are there any user-facing changes?
No new benchmark