Message-Id: <3366B866.5466@canvaslink.com> Date: Tue, 29 Apr 1997 23:11:34 -0400 From: Tom Grandgent Reply-To: tgrand AT canvaslink DOT com Organization: Canvas Link, Inc. Mime-Version: 1.0 To: djgpp AT delorie DOT com Subject: ints vs. shorts Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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.