www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/23/08:27:19

Date: Wed, 23 Sep 1998 15:27:03 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Brooker <cbroo AT iafrica DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Are Longs Really Faster?
In-Reply-To: <360826d6.2082174@ct-news.iafrica.com>
Message-ID: <Pine.SUN.3.91.980923152536.1392u-100000@is>
MIME-Version: 1.0

On Tue, 22 Sep 1998, Chris Brooker wrote:

> I heard somewhere that if you keep you data in longs it actually runs
> faster, so if you are worried about speed and new memory usage then
> you must keep your data in longs. 

Not longs, ints.  An int is the native integral data type of the 
compiler, and it produces the fastest code.  (It is true, though, that in 
DJGPP long and int are both 32 bit wide.)

- Raw text -


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