diff options
author | Ohad Ravid <ohad.rv@gmail.com> | 2021-03-24 15:45:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 08:45:16 -0500 |
commit | badbf70324274bdb4299d8c64d3d83a26be2d4c0 (patch) | |
tree | e83ec5e020d4d667cf1e95c9e9817c39705676bc /numpy/array_api/_manipulation_functions.py | |
parent | 2832caab3bea702bdabe944ec21487bc93e94d59 (diff) | |
download | numpy-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