[pythran] Re: Moving to xsimd

  • From: serge guelton <serge.guelton@xxxxxxxxxxxxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Sat, 3 Nov 2018 09:03:56 +0100

On Fri, Nov 02, 2018 at 06:43:32PM -0400, Neal Becker wrote:

Do you really want to find euclidean_distance as hypot(x)**2?  Isn't it faster
to do real(x)**2 + imag(x)**2?
Might not be standard conforming though.

You're right! That's just an example of genericity, probably not the
best one though :-)

Other related posts: