johnh
9
Rhis is an article concerning vectorisation in Julia.
I think your loop should vectorise well - each i is independent.
https://juliacomputing.com/blog/2017/09/27/auto-vectorization-in-julia.html
You also consider the type of the array which you use. Is N a fixed size?
1 Like