summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorOhad Ravid <ohad.rv@gmail.com>2021-03-24 15:45:16 +0200
committerGitHub <noreply@github.com>2021-03-24 08:45:16 -0500
commitbadbf70324274bdb4299d8c64d3d83a26be2d4c0 (patch)
treee83ec5e020d4d667cf1e95c9e9817c39705676bc /numpy/array_api/_manipulation_functions.py
parent2832caab3bea702bdabe944ec21487bc93e94d59 (diff)
downloadnumpy-badbf70324274bdb4299d8c64d3d83a26be2d4c0.tar.gz
ENH: Improve performance of `np.save` for small arrays (gh-18657)
* ENH: Remove call to `_filter_header` from `_write_array_header` Improve performance of `np.save` by removing the call when writing the header, as it is known to be done in Python 3. * ENH: Only call `_filter_header` from `_read_array_header` for old vers Improve performance of `np.load` for arrays with version >= (3,0) by removing the call, as it is known to be done in Python 3. * ENH: Use a set of keys when checking `read_array` Improve performance of `np.load`. * DOC: Improve performance of `np.{save,load}` for small arrays
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions