diff options
author | Michael <michael.siebert2k@gmail.com> | 2023-01-13 21:24:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 21:24:35 +0100 |
commit | 2303556949b96c4220ed86fa4554f6a87dec3842 (patch) | |
tree | d88bc32af66dbfe442074007e51f0d3ad9a719eb /numpy/array_api/_array_object.py | |
parent | 87ba79b05e5eab101b03e1cc76656287d5d0aed5 (diff) | |
download | numpy-2303556949b96c4220ed86fa4554f6a87dec3842.tar.gz |
ENH: Faster numpy.load (try/except _filter_header) (#22916)
This pull requests speeds up numpy.load. Since _filter_header is quite a bottleneck, we only run it if we must. Users will get a warning if they have a legacy Numpy file so that they can save it again for faster loading.
Main discussion and benchmarks see #22898
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions