Skip to content

REF: Make _slice_take_blocks_ax0 a generator #58805

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

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

mroeschke
Copy link
Member

In some cases, the old list[Block] result was re-iterated over.

@mroeschke mroeschke added Internals Related to non-user accessible pandas implementation Clean labels May 21, 2024
@jbrockmendel
Copy link
Member

Do these actually improve perf? Or just for the principle of the thing?

@mroeschke
Copy link
Member Author

Do these actually improve perf? Or just for the principle of the thing?

More principle and in theory save some list allocations (which don't really register in a speed improvement)

@mroeschke mroeschke added this to the 3.0 milestone May 21, 2024
@mroeschke
Copy link
Member Author

Going to merge this PR, but happy to follow up if needed

@mroeschke mroeschke merged commit d969dd8 into pandas-dev:main Jun 6, 2024
47 checks passed
@mroeschke mroeschke deleted the ref/_slice_take_blocks_ax0 branch June 6, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants