diff options
author | Arink Verma <arinkverma@gmail.com> | 2013-07-12 17:50:00 +0530 |
---|---|---|
committer | Arink Verma <arinkverma@gmail.com> | 2013-08-05 17:08:52 +0530 |
commit | 5a5e86f4fc2691064d2e36783cf0c05936cd9020 (patch) | |
tree | 40a3131ae89796f5ab4eff7fff889b5a5bc893b9 /numpy/testing/numpytest.py | |
parent | 6815f865678e88dab68c00c34fb1c9e7166f8f3c (diff) | |
download | numpy-5a5e86f4fc2691064d2e36783cf0c05936cd9020.tar.gz |
ENH: For smaller array, added macro NPY_BEGIN_THREADS_THRESHOLDED in ndarraytypes.h
Avoiding NPY_BEGIN_THREADS for small arrays, can speed-up trivial_three_operand_loop by 5%.
As releases of GIL, then quickly restoring just after small operation doesn't benefit.
Diffstat (limited to 'numpy/testing/numpytest.py')
0 files changed, 0 insertions, 0 deletions