3 ms·
`vsqrtpd` is an assembly instruction. `exp` and `sincos` are implemented in Julia. If you want to use a library to speed up the Julia code, checkout https://d
by celrod 5y ago
`vsqrtpd` is an assembly instruction.
`exp` and `sincos` are implemented in Julia.
If you want to use a library to speed up the Julia code, checkout
https://discourse.julialang.org/t/i-just-decided-to-migrate-from-python-fortran-to-julia-as-julia-was-faster-in-my-test/61188/19?u=elrod https://discourse.julialang.org/t/i-just-decided-to-migrate-...
(but replace `@tvectorize` with `@tturbo`), which is code by eigenspace.
- dfdz 5y agoMy point is that for codes like this, the issue is not vectorization. Just evaluating the special functions exp and sqrt is taking 90% of the time. You can evaluate these special functions in parallel, but that is about it.