[Numpy-svn] [numpy/numpy] 9f19a8: MAINT: Speedup field access by removing unneeded s...
GitHub
noreply at github.com
Sun Oct 18 17:38:02 EDT 2015
Branch: refs/heads/maintenance/1.10.x
Home: https://github.com/numpy/numpy
Commit: 9f19a89bc4db03450d0379e2717ab73ed04db8d3
https://github.com/numpy/numpy/commit/9f19a89bc4db03450d0379e2717ab73ed04db8d3
Author: Allan Haldane <allan.haldane at gmail.com>
Date: 2015-10-18 (Sun, 18 Oct 2015)
Changed paths:
M numpy/core/_internal.py
M numpy/core/src/multiarray/arraytypes.c.src
M numpy/core/src/multiarray/common.c
M numpy/core/src/multiarray/common.h
M numpy/core/src/multiarray/mapping.c
Log Message:
-----------
MAINT: Speedup field access by removing unneeded safety checks (1/3)
Bypass unneeded "view" safety-checks in `array_subscript` and
`array_assign_subscript`, by avoiding use of `PyArray_View`.
Commit: 4cd33267fd597dfcdbe34dc031fa047d590490b6
https://github.com/numpy/numpy/commit/4cd33267fd597dfcdbe34dc031fa047d590490b6
Author: Allan Haldane <allan.haldane at gmail.com>
Date: 2015-10-18 (Sun, 18 Oct 2015)
Changed paths:
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
MAINT: Speedup field access by removing unneeded safety checks (2/3)
Bypass unneeded "view" safety checks in voidtype_ subscript/assignment
methods, by falling back to ndarray methods which skip the checks.
Commit: f12656410ca4c709bd821ad745685fc9511e0ddf
https://github.com/numpy/numpy/commit/f12656410ca4c709bd821ad745685fc9511e0ddf
Author: Allan Haldane <allan.haldane at gmail.com>
Date: 2015-10-18 (Sun, 18 Oct 2015)
Changed paths:
M numpy/core/src/multiarray/common.c
M numpy/core/src/multiarray/common.h
M numpy/core/src/multiarray/getset.c
M numpy/core/src/multiarray/methods.c
Log Message:
-----------
MAINT: Speedup field access by removing unneeded safety checks (3/3)
Skip safety-checks in views as long as neither old or new dtypes of view
may have objects.
Commit: f9425b0229f1c3779b172146602143957ff47b63
https://github.com/numpy/numpy/commit/f9425b0229f1c3779b172146602143957ff47b63
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-10-18 (Sun, 18 Oct 2015)
Changed paths:
M numpy/core/_internal.py
M numpy/core/src/multiarray/arraytypes.c.src
M numpy/core/src/multiarray/common.c
M numpy/core/src/multiarray/common.h
M numpy/core/src/multiarray/getset.c
M numpy/core/src/multiarray/mapping.c
M numpy/core/src/multiarray/methods.c
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #6502 from charris/backport-6208
Backport 6208: MAINT: Speedup field access by removing unneeded safety checks
Compare: https://github.com/numpy/numpy/compare/3b03ce3e5726...f9425b0229f1
More information about the Numpy-svn
mailing list