diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2021-11-05 00:05:04 +0100 |
---|---|---|
committer | Antony Lee <anntzer.lee@gmail.com> | 2021-11-05 00:05:04 +0100 |
commit | f9c2573898899ee3809dfd4ebba113f6de2d528b (patch) | |
tree | fb9b7cb0294ed1cd5095ea09f81dbbe9f66a9fd5 /numpy/array_api/_typing.py | |
parent | fe7b1dcfc16fd9a8a1e6ea24ea103abf870282ed (diff) | |
download | numpy-f9c2573898899ee3809dfd4ebba113f6de2d528b.tar.gz |
PERF: Speedup np.quantile.
Avoiding the unnecessary calls to moveaxis() speed up
`np.quantile(x, .5)` (`x = np.random.rand(1000)`) by ~10% (although
there's a lot of variability) for me.
Diffstat (limited to 'numpy/array_api/_typing.py')
0 files changed, 0 insertions, 0 deletions