JuliaLang/julia — pull request #5288 by lindahua (2014-01-02 17:59:35+00:00)
Title: Use nnz to implement sum over bool arrays

This minor change results in about 1.5x - 2x speedup and smaller memory footprint.