How to assign real/imaginary part of complex array

You’re timing in global scope. You should wrap your code in a function or, even better, just use GitHub - JuliaCI/BenchmarkTools.jl: A benchmarking framework for the Julia language

1 Like