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: Index[StringArray] #46349

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Conversation

jbrockmendel
Copy link
Member

bandaid until we can improve perf in ExtensionEngine

@jreback
Copy link
Contributor

jreback commented Mar 12, 2022

for 1.4.2?

@@ -5032,7 +5033,11 @@ def _get_engine_target(self) -> ArrayLike:
Get the ndarray or ExtensionArray that we can pass to the IndexEngine
constructor.
"""
return self._values
vals = self._values
if isinstance(vals, StringArray):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this true for other EAs? e.g. original report was for Int64

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#45652 was about string dtype. I think Joris commented about Int64 elsewhere and pointed out they are related.

@jreback jreback added the Performance Memory or execution speed performance label Mar 12, 2022
@jbrockmendel
Copy link
Member Author

for 1.4.2?

should be harmless

@jreback jreback added this to the 1.5 milestone Mar 15, 2022
@jreback jreback merged commit 0ae9b4d into pandas-dev:main Mar 15, 2022
@jreback
Copy link
Contributor

jreback commented Mar 15, 2022

just doing for 1.5

@jbrockmendel jbrockmendel deleted the perf-ea-index branch March 15, 2022 23:41
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PERF: Regression with indexing with ExtensionEngine
2 participants