1 | initial version |
You probably will get x10 speedup by switching order of your for loops. First loop for rows, second (inner) for columns.
2 | No.2 Revision |
You probably will get x10 speedup by switching order of your for loops. First loop for rows, second than (inner) for loop columns.