News for hackers. Stuff that matters.
Re:How I Got a 2x Speedup With One Line of Code by naftaliharris on Thursday November 14, 2013 @11:12PM (#6737697)
Thanks! I tried -fprefetch-loop-arrays before figuring out that it only prefetches the array memory, (ie, memory with addresses like &ob_item[i]), rather than the memory referenced by the array memory, (ie, memory with addresses like ob_item[i]). And empirically adding -fprefetch-loop-arrays got me no speedups.

I didn't try any other GCC command line arguments because I honestly didn't know what other relevant options there were.

There are no comments on this comment yet.