summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-05 12:20:12 +0200
committerGitHub <noreply@github.com>2021-08-05 13:20:12 +0300
commitd97e31e891e868457d710d53b8ddadb0d473ec8a (patch)
tree3515f22bb31a111ae029a9c5a5384b379f46ffca /numpy/array_api/_creation_functions.py
parentb3e3567544dc2b41e1bcc89157b977cf12ef2efb (diff)
downloadnumpy-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