Date: Tue, 14 Mar 2000 11:25:42 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: DJGPP-WORKERS Subject: Re: Fastest integer type In-Reply-To: <200003140840.JAA19626@mars.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 14 Mar 2000, Martin Stromberg wrote: > The standard says you should provide types that are the fastest on the > platform (the definition of fastest is up to the platform) for integer > types that are at least 8, 16, 32 and 64 bits. I know that ints (32 > bits) are faster than shorts (16 bits) in DJGPP, right? Yes. > Are ints (32 bits) faster than chars (8 bits)? In what context? If a char is used as an integral type (to count or to loop), I think there's no difference.