On 3/14/07, Dennis Schridde <[EMAIL PROTECTED]> wrote:
"We" are using (x >> TILE_SHIFT) in a lot of places in the code.

A (very) quick micro-benchmark resulted in timings similar to these:
0m2.790s
0m2.800s

These are not bitshifts instead of multiplication or division by a
power of two, but actually bitshifts to conserve the precious memory
of the PSX. The correct solution is to expand the relevant structures
a bit, so that we do not have to compress the data by bitshifting.
I've wanted to do this for a long time, but I never got around to it.

 - Per

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to