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: fast-path for eager int_range #13811

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Jan 18, 2024

We probably want something more robust for eager expressions in general, but this should at least resolve #13796.

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels Jan 18, 2024
@ritchie46
Copy link
Member

I think it is good to have this directly. Creating a Series/DataFrame with a range is so basic that we don't want to go through the whole engine for this one.

@ritchie46 ritchie46 merged commit f171b66 into pola-rs:main Jan 19, 2024
24 checks passed
r-brink pushed a commit to r-brink/polars that referenced this pull request Jan 24, 2024
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.

Polars is 10x slower than pandas at initialising from range expressions
2 participants