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

Hagen Fürstenau hagen at zhuliguan.net
Sat Sep 11 05:58:56 EDT 2010


> Anyway, seems it is indeed a denormal issue, as adding a small (1e-10)
> constant gives same speed for both timings.

With adding 1e-10 or clipping to 0 at 1e-150, I still get a slowdown of
about 30% compared with the random arrays. Any explanation for that?

Cheers,
Hagen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100911/cead2cd2/attachment.sig>


More information about the NumPy-Discussion mailing list