Mail Archives: djgpp/1997/04/29/23:18:31
I am working on a realtime game and have been wondering about
ints vs. shorts. At first I used ints for everything, still being
partially in the 16-bit mentality of things. Then I noticed that
I could use shorts instead to save a lot of memory...
I have heard that there is a performance difference between shorts
and ints. If anyone could explain when and how much this matters,
I would be very grateful. I'm just wondering whether to use ints
for everything, shorts for everything, or a mix.
Thank you,
Tom Grandgent
tgrand AT canvaslink DOT com
Canvas Link, Inc.
- Raw text -