summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-01-14 19:25:41 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-01-14 19:32:54 +0100
commit48558df89911b5211ae8d58e1d5e937bb1b57c33 (patch)
tree2ee87a6d598614c722a53301f98705e2f5c3d080 /numpy/polynomial/polyutils.py
parent0b85f91364729286fe4e6f5343c31015d8248012 (diff)
downloadnumpy-48558df89911b5211ae8d58e1d5e937bb1b57c33.tar.gz
ENH: avoid more thread save/restores for small iteration counts
Releasing the GIL is not worthwhile for small loop iteration counts. This was previously only done for non-reduction ufuncs. Do this now also for reductions and assignments. Improves performance of small reductions by about 10% as they avoid two save and restores.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions