[Numpy-discussion] dot() performance depends on data?

John Salvatier jsalvati@u.washington....
Fri Sep 10 12:46:20 CDT 2010


Perhaps the ndarrays have different ordering (C vs Fortran order)?

On Fri, Sep 10, 2010 at 10:36 AM, Hagen Fürstenau <hagen@zhuliguan.net>wrote:

> Hi,
>
> I'm multiplying two 1000x1000 arrays with numpy.dot() and seeing
> significant performance differences depending on the data. It seems to
> take much longer on matrices with many zeros than on random ones. I
> don't know much about optimized MM implementations, but is this normal
> behavior for some reason?
>
> Cheers,
> Hagen
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100910/bac830be/attachment.html 


More information about the NumPy-Discussion mailing list