Skip to content

Conversation

@mroeschke
Copy link
Member

No description provided.

@mroeschke mroeschke added the Refactor Internal refactoring of code label Mar 18, 2024
@jbrockmendel
Copy link
Member

No objection but why? Is this a perf thing or a style thing?

@mroeschke
Copy link
Member Author

Just a minor perf thing; avoiding extra memory allocations where possible

@mroeschke mroeschke added this to the 3.0 milestone Mar 19, 2024
@mroeschke
Copy link
Member Author

Since tests are passing here going to merge.

@mroeschke mroeschke merged commit d23f95f into pandas-dev:main Mar 20, 2024
@mroeschke mroeschke deleted the ref/reverse/iter branch March 20, 2024 16:41
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…ndas-dev#57902)

* REF: Avoid new objects when reverse slicing when possible

* Adjust test

* Remove astypes

* Fix typing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants