summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-01-11 00:41:24 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-05-15 23:52:43 +0200
commitf0497eccf273ffa5eae8418d4ca699d85ab7b41e (patch)
tree6deddf1ef549bafca010f1e54e2d3aa641ded559 /numpy/lib/nanfunctions.py
parent003fcdad5bc6c062506853a8a0df89ea0ceb3916 (diff)
downloadnumpy-f0497eccf273ffa5eae8418d4ca699d85ab7b41e.tar.gz
ENH: avoid keyword arguments for some ufunc.reduce wrappers
PyArg_ParseTupleAndKeywords is pretty slow for keywords as it needs to create python strings first. Using positional arguments avoids this and gains 15-20% performance for small reductions.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions