-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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: add ._simple_new method to masked arrays #53013
PERF: add ._simple_new method to masked arrays #53013
Conversation
Ping @jbrockmendel & @rhshadrach. This is currently contained in #52788 to fix a slowdown I saw when working in that PR, but can be reviewed independently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@topper-123 - just a conflict to resolve |
I got some social obligations, so merging this, so #52788 is rebased and ready, when I'm back... |
* PERF: add _simple_new method to masked arrays
* PERF: add _simple_new method to masked arrays
Add a
._simple_new
method toBaseMaskedArray
and child classes in order to allow instantiation without validation to get better performance when validation is not needed.Example:
Motivated by performance considerations for #52836.