(In the case of sum
, all you need is @simd
to match the Base.sum
performance. But even the @simd
decoration is a needless complication in an introductory course.)
6 Likes
(In the case of sum
, all you need is @simd
to match the Base.sum
performance. But even the @simd
decoration is a needless complication in an introductory course.)