Skip to content

PERF: RangeIndex.insert maintains RangeIndex when empty #57833

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 7 commits into from
Mar 16, 2024

Conversation

mroeschke
Copy link
Member

Discovered in #57441

@mroeschke mroeschke added Performance Memory or execution speed performance Index Related to the Index class or subclasses labels Mar 13, 2024
@mroeschke
Copy link
Member Author

cc @WillAyd if you have time could you help look at the ASAN / UBSAN builds? It looks like recently they have been failing with AddressSanitizer: DEADLY SIGNAL?

@WillAyd
Copy link
Member

WillAyd commented Mar 14, 2024

That is definitely strange. Do you know when that first started? My guess is the error is coming from something in our conftest or a third party dependency, since it looks like it happens before the test suite even begins

@mroeschke
Copy link
Member Author

mroeschke commented Mar 14, 2024

This commit on main looks like it was the first one to exhibit the failure (but doesn't look like these changes should have caused it?) 10f31f6

@mroeschke mroeschke added this to the 3.0 milestone Mar 14, 2024
@WillAyd
Copy link
Member

WillAyd commented Mar 14, 2024

Yea that looks unrelated. Guessing it's a dependency version issue

@phofl phofl merged commit e8069ae into pandas-dev:main Mar 16, 2024
46 of 47 checks passed
@phofl
Copy link
Member

phofl commented Mar 16, 2024

thx @mroeschke

@mroeschke mroeschke deleted the perf/rng/insert branch March 17, 2024 00:35
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants