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 materialize for broadcasting fill_null value and default value of replace #14736

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

nameexhaustion
Copy link
Collaborator

zip_with already broadcasts efficiently

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels Feb 28, 2024
@nameexhaustion nameexhaustion changed the title perf: Don't materialize for fill_null broadcasting perf: Don't materialize for broadcasting fill_null value and default value of replace Feb 28, 2024
@nameexhaustion nameexhaustion marked this pull request as ready for review February 28, 2024 09:12
Copy link
Member

@ritchie46 ritchie46 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. That saves an expensive allocation. @stinodego FYI.

@ritchie46 ritchie46 merged commit caff0f9 into pola-rs:main Feb 29, 2024
19 checks passed
@nameexhaustion nameexhaustion deleted the fill-null branch February 29, 2024 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants