diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-02-26 19:40:14 +0100 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-03-09 21:32:53 +0100 |
commit | 61d7a10b7d244e83413747a9f0772e5a50236dfa (patch) | |
tree | bd18a735cbb48a9d2d5e203c71b1ae13099b4413 /numpy/core/function_base.py | |
parent | 4da29a8e7393356094b0eb3289b14360beac9d89 (diff) | |
download | numpy-61d7a10b7d244e83413747a9f0772e5a50236dfa.tar.gz |
ENH: improve PyArray_Nonzero for sparse bool masks
we already count the number of true elements so we can decide when its
sparse and use faster (4-byte) vectorized npy_memchr.
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions