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

Hagen Fürstenau hagen@zhuliguan....
Sat Sep 11 04:58:56 CDT 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.scipy.org/pipermail/numpy-discussion/attachments/20100911/cead2cd2/attachment.bin 


More information about the NumPy-Discussion mailing list