When is `.=` more efficient than `=`?

后端 未结 0 392
误落风尘
误落风尘 2020-12-29 19:16

Consider the following REPL lines using BenchmarkTools:

julia> N = 10^2; M = collect(reshape(1:N^2,N,N)); e = collect(1:N); # N=100
julia>          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题