summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-05 23:52:15 +0200
committerAntony Lee <anntzer.lee@gmail.com>2021-08-06 17:24:16 +0200
commita99489b4e8ced49a71b5884a265a7abbb4f98fe1 (patch)
tree765402f9af17a11520b42cad175cc9edc587ec69 /numpy/array_api/_manipulation_functions.py
parent99eac42354f9c900bf8897abec6e7c1bd6c9ff6c (diff)
downloadnumpy-a99489b4e8ced49a71b5884a265a7abbb4f98fe1.tar.gz
PERF: Simplify some of loadtxt's standard converters.
Standard converters only ever get called with str inputs (loadtxt performs the required decoding); saving a bunch of runtime typechecks (in `asstr`) results in a 15-20% speedup when loadtxt()ing the corresponding types.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions