Now that I look at it, you can probably take out everything related to the
ctable variable as well. Basically it looks like it generates a table of
values in advance in order to avoid repeat math later, but it never uses it.
So this should probably be either finished or removed.
The math to generate the values doesn't look more complex than the math to look
up the value on a table, so if there's a performance increase it's probably
minor. Might be worth checking out though just in case though, since the code
is basically already written.
bioster (via gimpusers.com)
Gimp-developer mailing list