summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-03 16:03:26 +0200
committerAntony Lee <anntzer.lee@gmail.com>2021-08-06 19:17:38 +0200
commite6be8977bd741ee39fdc0b30fccae036c68db9f7 (patch)
tree189d348fc01e65f3c19d41ad261adaadcce5380e /numpy/array_api/_manipulation_functions.py
parent99eac42354f9c900bf8897abec6e7c1bd6c9ff6c (diff)
downloadnumpy-e6be8977bd741ee39fdc0b30fccae036c68db9f7.tar.gz
PERF: In loadtxt, decide once and for all whether decoding is needed.
... and use a single decoder function instead of repeatedly checking the input type (in `_decode_line`). ~5-8% speedup.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions