On Thu, 19 May 2005, Jerome Glisse wrote:


Thus what we may do is use this table or use your swizzle function. Table lookup are faster but we doesn't have to translate code often, no ?

An intermediate approach would be to have an "if" function that is easier to read (and debug) but instead of using return values directly populate the table with the return values during startup and then use the table.


This way we retain the readability and have the speedup from lookups.

                      best

                          Vladimir Dergachev



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to