Mail Archives: djgpp/1996/11/28/10:27:58
>> 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?
>
>How did you notice the data conversions?
Data structures were no longer the same size.
> There shouldnt be any problem running 16 bit data in 32 bit form.
> I don't understand what is your problem here??? How did you get
> the feeling that your program would actually get slower if you use
> 32 bit data instead of 16 bit data.
Well, my logic is this: You have to move 2x as much data around; this
means your L1 cache fills up 2x as fast. This is not good.
>P.S. I wonder what are you porting though because it is not clear in
>your post.
I'm porting a japanese chess game from borland to djgpp. Chech the url in
my sig if you really want to see it.
Peace
--
===[ Gabo / [ABC] : gaminer AT undergrad DOT math DOT uwaterloo DOT ca ]===================
Latest ABC Shogi: http://www.undergrad.math.uwaterloo.ca/~gaminer/shogi.html
"What Greenpeace spends in a year General Motors spends in four hours" -Moby
- Raw text -