summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-04 09:50:24 +0200
committerAntony Lee <anntzer.lee@gmail.com>2021-08-22 23:43:03 +0200
commit1767e601ce5fc353748d802444c4c534f31e14a0 (patch)
treea3ce2d7dda021d30db2d49022dc3ecea85a617ee /numpy/array_api/_elementwise_functions.py
parent1fdfdfa97b0528f67f8fcf826f1e33f45569340a (diff)
downloadnumpy-1767e601ce5fc353748d802444c4c534f31e14a0.tar.gz
PERF: Optimize loadtxt usecols.
7-10% speedup in usecols benchmarks; it appears that even in the single-usecol case, avoiding the iteration over `usecols` more than compensates the cost of the extra function call to usecols_getter.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions