Mail Archives: djgpp/1996/11/29/07:26:06
> djgpp? I mean, right now I have a 9x9 array of bytes, and try to index
> all
you might be better off just using ints (32 bits) instead of 8, or
worse, 16 bit quantities.
> Since this code _is_ a port, I have noticed some data conversion too. > An
> int is no longer 16 bits long. Since I don't really need a 32 bit int > in
> the core code would it help at all for me to change things to "short
> unsigned int"s?
>
most probably changing things from 32 bit quantities to 16 bit
quantities will make your program run slower because of the extra
indexing required.
did you actually profile your code to see where the bottlenecks are?
sinan
- Raw text -