summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorPieter Eendebak <pieter.eendebak@gmail.com>2022-05-14 11:26:57 +0200
committerGitHub <noreply@github.com>2022-05-14 11:26:57 +0200
commitcfbbde8ae720ba4fc653aabe64f9acc3d4c48183 (patch)
tree6c235c0362637683a0eb70a360b02b327d9e311f /numpy/array_api/_elementwise_functions.py
parentc93faa47504c8dc1cc59d60212a537395f946a7c (diff)
downloadnumpy-cfbbde8ae720ba4fc653aabe64f9acc3d4c48183.tar.gz
PERF: Fast check on equivalent arrays in PyArray_EQUIVALENTLY_ITERABLE_OVERLAP_OK (#21464)
Addresses one of the items in #21455 * fast check on equivalent arrays in PyArray_EQUIVALENTLY_ITERABLE_OVERLAP_OK * fix for case stride1==0 * remove assert statements * whitespace * DOC: Add comment that output broadcasting is rejected by overlap detection That is a bit of a weird dynamic here, and it would probably nice to clean up. However, it is also not a reason to not add the fast-path right now. --- Note that it may also be good to just use a data-pointer comparison or push this fast-path into the overlap detection function itself.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions