News for hackers. Stuff that matters.
Re:Numba vs. Cython: Take 2 by kenster07 on Saturday June 15, 2013 @08:20PM (#5886767)
Due to Fortran's memory model, its performance could potentially be drastically improved by altering the arrays such that the program is accessing consecutive columns rather than rows.

from: r = r + (X(i,k) - X(j,k)) * (X(i,k) - X(j,k))

to: r = r + (X(k,i) - X(k,j)) * (X(k,i) - X(k,j))

There are no comments on this comment yet.