[Numpy-discussion] Relative speed

Zachary Pincus zachary.pincus@yale....
Thu Aug 29 15:32:41 CDT 2013

> And as you pointed out, 
> most of the time for non-trivial datasets the numpy operations will be 
> faster. (I'm daunted by the notion of trying to do linear algebra on 
> lists of tuples, assuming that's the relevant set of operations given 
> the comparison to the matrix class.)

Note the important and pretty common exception of building up a list one element (or row of elements) at a time. Here, python lists usually rule, unless the final size is known in advance.

More information about the NumPy-Discussion mailing list