I\'m trying to optimize the speed and allocation of this loop
function loop(n,k) m = rand(10,n) r = rand(10,1) for j in 1:k for i in 2:size(m,