It seems to me that in past versions of Julia the array of arrays or array of matrices approach for iteration usually outperformed iterating over matrix subsets. That gap seems to be smaller in the more recent version. Am I just imagining this or is that the result of an intentional language enhancement?
Perhaps you mean views no longer allocating?
Subsets of larger arrays should have better locality.
Be sure to use views instead of taking slices.
2 Likes
Yes, though even without using @views there seems to be less difference. Also for iterations on row versus column ordering it seems like Iām seeing less performance difference.