Skip to content

Backport 6208: MAINT: Speedup field access by removing unneeded safety checks #6502

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
Oct 18, 2015

Conversation

charris
Copy link
Member

@charris charris commented Oct 18, 2015

Backport #6208.

Bypass unneeded "view" safety-checks in `array_subscript` and
`array_assign_subscript`, by avoiding use of `PyArray_View`.
Bypass unneeded "view" safety checks in voidtype_ subscript/assignment
methods, by falling back to ndarray methods which skip the checks.
Skip safety-checks in views as long as neither old or new dtypes of view
may have objects.
@charris charris added this to the 1.10.2 release milestone Oct 18, 2015
charris added a commit that referenced this pull request Oct 18, 2015
Backport 6208: MAINT: Speedup field access by removing unneeded safety checks
@charris charris merged commit f9425b0 into numpy:maintenance/1.10.x Oct 18, 2015
@charris charris deleted the backport-6208 branch October 18, 2015 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants