Skip to content
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

perf: add basic AVX-512 filters #14892

Merged
merged 5 commits into from
Mar 8, 2024
Merged

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Mar 6, 2024

This should improve performance when data is in cache, and it seems to improve performance by ~2x regardless for filtering u8s if AVX-512 is available. Unfortunately the speedups for other types when data doesn't fit in cache weren't there, I didn't realize the scalar path already achieves single-threaded memory bandwidth (at least on the machine I tested).

Verified

This commit was signed with the committer’s verified signature.
ychin Yee Cheng Chin
@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels Mar 6, 2024
orlp added 3 commits March 7, 2024 17:04
fmt
@orlp orlp marked this pull request as ready for review March 7, 2024 16:18
@ritchie46
Copy link
Member

Yes, when streaming and morsels are reasonable small this should benefit.

@ritchie46 ritchie46 merged commit e2f8188 into pola-rs:main Mar 8, 2024
23 checks passed
@c-peters c-peters added the accepted Ready for implementation label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants