[SciPy-user] Very slow comparison of arrays of integers

Robert Kern rkern at ucsd.edu
Mon Jul 18 11:44:44 CDT 2005

Brian Granger wrote:

> Thanks, alltrue is much faster, especially for large arrays.   
> Unfortunately out arrays have only 0's and 1's though, which may be  
> slowing us down a bit if their identity is first checked.

(1) That would be for lists, (2) I'm probably wrong, and (3) it probably 
doesn't matter in any case.

Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter

More information about the SciPy-user mailing list