summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorjaimefrio <jaime.frio@gmail.com>2014-05-25 00:15:45 -0700
committerjaimefrio <jaime.frio@gmail.com>2014-05-25 21:33:13 -0700
commit494abcf189e9b53e42b624752eb3eaaf46a0dfd3 (patch)
treef82a3fe17196c0e93e245ca1079afdcae83d209b /numpy/lib/nanfunctions.py
parent4b42810fe45727dbd6ef0c70f8e766fee97db14e (diff)
downloadnumpy-494abcf189e9b53e42b624752eb3eaaf46a0dfd3.tar.gz
ENH: speed-up minimum, maximum and xor for bool dtype
Replaced the operations for the above ufuncs on bools, by simpler single instructions. On random inputs `np.minimum` and `np.maximum` run about 25% faster, and `np.logical_xor` and `np.bitwise_xor` almost 3x faster.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions