> 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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to