diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-01-11 00:41:24 +0100 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-05-15 23:52:43 +0200 |
commit | f0497eccf273ffa5eae8418d4ca699d85ab7b41e (patch) | |
tree | 6deddf1ef549bafca010f1e54e2d3aa641ded559 /numpy/lib/nanfunctions.py | |
parent | 003fcdad5bc6c062506853a8a0df89ea0ceb3916 (diff) | |
download | numpy-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