Hi, recently I modified the code of a FEM-Application due to the information on loop otimization from Mr. Goto, and it was a real improvement. But those optimization base on fixed loop-boundaries. How can I optimize code as it is used in sparse matrix applications where the index of the non-zero-elements is a an array of it`s own like: --------------------------- double vector[MatrixDimension]; double vector[MatrixDimension]; double matrix[NumberOfNonZeroElements]; /* only nze of matrix */ int matrix_idx[NumberOfNonZeroElements]; /* col_idxt */ int matrix_ptr[MatrixDimension+1]; /* start of row */ for (row=0; row