summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorprzemb <sendthenote@gmail.com>2020-02-05 01:14:31 +0100
committerprzemb <sendthenote@gmail.com>2020-02-05 01:18:15 +0100
commita15dc309cb28ca4bab3a2ef89f90c24e6659e9bd (patch)
treed83c4217a5764f1fe35ed617a47fa20b24867a7d /numpy/array_api/_array_object.py
parent85be00ab0c36ded200747f5b82ab52e74db80b8f (diff)
downloadnumpy-a15dc309cb28ca4bab3a2ef89f90c24e6659e9bd.tar.gz
MAINT: Large overhead in some random functions #15460
slow calls to np.dtype.name replaced with np.dtype, mtrand.pyx and _generator.pyx updated, test test_warns_byteorder updated before: %timeit rs.random(): 520 ns ± 33.1 ns per loop %timeit rg.random(): 6.36 µs ± 222 ns per loop after: %timeit rs.random(): 453 ns ± 6.95 ns per loop %timeit rg.random(): 594 ns ± 9.66 ns per loop
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions