diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2021-08-04 09:50:24 +0200 |
---|---|---|
committer | Antony Lee <anntzer.lee@gmail.com> | 2021-08-22 23:43:03 +0200 |
commit | 1767e601ce5fc353748d802444c4c534f31e14a0 (patch) | |
tree | a3ce2d7dda021d30db2d49022dc3ecea85a617ee /numpy/array_api/_elementwise_functions.py | |
parent | 1fdfdfa97b0528f67f8fcf826f1e33f45569340a (diff) | |
download | numpy-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