Improve the performance of multiplication of an arbitrary number of matrices

  1. You’re timing in global scope, so your results are not going to be informative. For a discussion of the same issue from earlier today, see: How to assign real/imaginary part of complex array - #11 by rdeits

  2. You’ll get substantially better performance if you use https://github.com/JuliaArrays/StaticArrays.jl for your small fixed-size attrays.

1 Like