[Numpy-discussion] Current state of performance?

Todd Miller jmiller at stsci.edu
Wed Mar 23 02:55:55 EST 2005


On Tue, 2005-03-22 at 13:27 -0800, Russell E. Owen wrote:
> I'm curious as to the current state of numarray vs. Numeric performance. 
> My code is a mix at the moment:
> - Numeric: coordinate conversion code that was written before numarray 
> was very solid and makes heavy use of small matrices.
> - numarray: some image processing stuff that uses PyFits (which uses 
> numarray).
> 
> I'd like to settle on one package. At one time numarray was at a clear 
> disadvantage for small arrays, but was wondering if that was still true.

It is still true that numarray is at a disadvantage for small arrays. 

> Any advice?

I don't think there is a single array package that provides both PyFITS
and good small array performance.  Consider porting your conversion code
to numarray and then profiling to get a better idea of the overall
performance costs of your application.  If you find a specific hot spot
we can try to address it.  

Regards,
Todd







More information about the NumPy-Discussion mailing list