[PATCH 3/3] winex11: Use TINN algorithm to speed up colour lookups. (try 2)

Dmitry Timoshkov dmitry at codeweavers.com
Sun May 6 22:10:10 CDT 2007

"Vitaly Budovski" <vbudovski at gmail.com> wrote:

>> Now that you got rid of sqrt calls usage of float numbers internally
>> doesn't look justified (to me) anymore.
> Only because in this instance it is used with integer data. It doesn't 
> need to be limited to just integer values. Besides, what would be gained 
> by changing it to integers as you suggest?

What would be gained is an additional speed. Since this code is supposed
to be used to handle palette/color data there is no need to use floats at


More information about the wine-devel mailing list