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(rust, python): rechunk dataframe before unique computation #7814

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

ritchie46
Copy link
Member

#7774

The runtime is dominated by index_to_chunk_index. This runtime grows linear with the number of chunks. We could implement this better with binary search. Can explore this later.

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels Mar 27, 2023
@ritchie46 ritchie46 merged commit cad87d9 into master Mar 27, 2023
@ritchie46 ritchie46 deleted the unique branch March 27, 2023 15:00
konstin pushed a commit to konstin/polars that referenced this pull request May 8, 2023
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.

1 participant