diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2021-08-05 12:20:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 13:20:12 +0300 |
commit | d97e31e891e868457d710d53b8ddadb0d473ec8a (patch) | |
tree | 3515f22bb31a111ae029a9c5a5384b379f46ffca /numpy/array_api/_creation_functions.py | |
parent | b3e3567544dc2b41e1bcc89157b977cf12ef2efb (diff) | |
download | numpy-d97e31e891e868457d710d53b8ddadb0d473ec8a.tar.gz |
PERF: Speed-up common case of loadtxt()ing non-hex floats. (#19598)
* PERF: Speed-up common case of loadtxt()ing non-hex floats.
`python runtests.py --bench bench_io` reports a ~5-10% perf gain.
* TST: Add tests to check fromhex not called unintentionally.
Adds regression tests to check that the logic surrounding when
the default floatconv applies the fromhex conversion does not
change.
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions