diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-02-20 15:51:17 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-02-20 16:28:55 +0100 |
commit | 94472bd702afd2a063e630b3aa020d9ccc0ec7ec (patch) | |
tree | 378ffeca91701dccd0545dad6845ff12b921bd7d /numpy/array_api/_array_object.py | |
parent | af9f656865d7948e8c8978e4002e7f5c1b8f0ecf (diff) | |
download | numpy-94472bd702afd2a063e630b3aa020d9ccc0ec7ec.tar.gz |
ENH: Avoid use of item XINCREF and DECREF in fasttake
Rather, use the cast function directly when the copy is not trivial
(which we know based on it not passing REFCHK, if that passes we assume
memcpy is fine).
Also uses memcpy, since no overlap is possible here.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions