numpy/numpy — pull request #3644 by juliantaylor (2013-08-20 17:59:35+00:00)
Title: ENH: add nonzero of bools fastpath

count_nonzero already has a fastpath but nonzero does not.
Improves performance by about 25% via avoiding a function call.