a *= b is equivalent to a = a * b, which allocates a temporary variable I think?
Try @fastmath @inbounds @simd for i=1:n A[i] *= B[i] end
a *= b is equivalent to a = a * b, which allocates a temporary variable I think?
Try @fastmath @inbounds @simd for i=1:n A[i] *= B[i] end