www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/30/00:06:42

From: leathm AT solwarra DOT gbrmpa DOT gov DOT au (Leath Muller)
Message-Id: <199704300400.OAA22202@solwarra.gbrmpa.gov.au>
Subject: Re: ints vs. shorts
To: tgrand AT canvaslink DOT com
Date: Wed, 30 Apr 1997 14:00:48 +1000 (EST)
Cc: djgpp AT delorie DOT com
In-Reply-To: <3366B866.5466@canvaslink.com> from "Tom Grandgent" at Apr 29, 97 11:11:34 pm

> 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.

Use int's - shorts have a 1 cycle stall on the pentium...

Leathal.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019