summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-01-10 01:24:30 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-01-12 23:40:05 +0100
commit593e3c30c24f0c61a271dc883c614724d7a57e1e (patch)
treeb97a98b0c0f1c909b87300d0fab9ab66d7cad942 /numpy/polynomial/polyutils.py
parent0b85f91364729286fe4e6f5343c31015d8248012 (diff)
downloadnumpy-593e3c30c24f0c61a271dc883c614724d7a57e1e.tar.gz
ENH: optimize np.where via nditer with external loop
Implementation via PyArray_Choose is very slow, a direct implementation is 10 times faster. Optimizing Choose is more complicated due to its higher complexity and would require specialization for optimal np.where anyway, but it is something that could be done in future.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions