julia> time1();
0.000046 seconds (1 allocation: 80 bytes)
julia> time2();
0.000055 seconds (1 allocation: 80 bytes)
But, as I said, always use BenchmarkTools for benchmarking.
julia> time1();
0.000046 seconds (1 allocation: 80 bytes)
julia> time2();
0.000055 seconds (1 allocation: 80 bytes)
But, as I said, always use BenchmarkTools for benchmarking.