- Mail original -
> De: "David Edelsohn"
> À: "PIERRE AUGIER"
> Cc: "pypy-dev"
> Envoyé: Vendredi 18 Décembre 2020 21:00:42
> Objet: Re: [pypy-dev] Differences performance Julia / PyPy on very similar
> codes
> Does Julia based on LLVM auto-vectorize the code? I assume yes
> because
On Mon, Dec 21, 2020 at 11:19 PM PIERRE AUGIER <
pierre.aug...@univ-grenoble-alpes.fr> wrote:
> class Point3D:
> def __init__(self, x, y, z):
> self.x = x
> self.y = y
> self.z = z
>
> def norm_square(self):
> return self.x**2 + self.y**2 + self.z**2
>
you
You did not state on exactly what system you are conducting the
experiment, but "a factor of 4" seems very close to the
auto-vectorization speedup of a vector of floats.
> I think it would be very interesting to understand why PyPy is much slower
> than Julia in this case (a factor 4 slower than