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: don't needlessly allocate validity in concat/rechunk #13288

Merged
merged 1 commit into from
Dec 28, 2023
Merged

Conversation

ritchie46
Copy link
Member

This came to light in #13243. During a concat/rechunk, we always allocate (and write/copy to) a validity buffer, even when there are no nulls.

This ensures we don't.

@ritchie46 ritchie46 requested a review from orlp as a code owner December 28, 2023 12:25
@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels Dec 28, 2023
@ritchie46 ritchie46 merged commit 9afa3cd into main Dec 28, 2023
18 checks passed
@ritchie46 ritchie46 deleted the grow branch December 28, 2023 12:36
@c-peters c-peters added the accepted Ready for implementation label Jan 5, 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

2 participants