over: replace for loop with while loop

Over is important enough that we want to squeeze all possible performance out
of it.
parent b8001abb
......@@ -56,7 +56,7 @@ process (GeglOperation *op,
if (aux==NULL)
return TRUE;
for (i = 0; i < n_pixels; i++)
while (n_pixels--)
{
out[0] = aux[0] + in[0] * (1.0f - aux[3]);
out[1] = aux[1] + in[1] * (1.0f - aux[3]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment