Nozomi wrote:
+for (i = 0; i order * order; i++)
I might have written
int n = order * order;
for (i=0; i n; i++)
to avoid repeating the multiplication every time around the loop,
even though multiplication is cheap nowadays, and -O1 will optimize
it out anyway. Staying in the
On 06/19/2012 10:47 AM, Dan Kegel wrote:
Nozomi wrote:
+for (i = 0; i order * order; i++)
I might have written
int n = order * order;
for (i=0; i n; i++)
to avoid repeating the multiplication every time around the loop,
even though multiplication is cheap nowadays, and -O1