Article View: comp.lang.c.moderated
Article #2007Re: Why Use 'Int' Instead of 'Long'? (With today's compilers)
From: Toby Speight
Date: Fri, 16 Feb 1996 06:07
Date: Fri, 16 Feb 1996 06:07
13 lines
1166 bytes
1166 bytes
>>>>> In article <4fu7tj$9a1@solutions.solon.com>, >>>>> Andrew == "Andrew Snow" <als@fl.net.au> writes: Andrew> To make your code completely portable, you should specify long or Andrew> short. In situations where it really doesn't matter, you can just Andrew> use "int". The int type is supposed to be the system's "natural" size, if it has one. Which makes it the likely choice for time-optimisation, all other things being equal. -- Toby Speight <tms@ansa.co.uk> Phone +44 1223 568925, Fax +44 1223 359779 APM Ltd., Poseidon House, Castle Park, Cambridge CB3 0RD
Technical Details
Message-ID:
<4g16v0$mod@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4fjk00$nss@solutions.solon.com> <4fu7tj$9a1@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: tms@ansa.co.uk (Toby Speight) Newsgroups: comp.lang.c.moderated Subject: Re: Why Use 'Int' Instead of 'Long'? (With today's compilers) Date: 16 Feb 1996 00:07:28 -0600 Organization: ANSA, Cambridge, England. Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4g16v0$mod@solutions.solon.com> References: <4fjk00$nss@solutions.solon.com> <4fu7tj$9a1@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com X-Yow: I know things about TROY DONAHUE that can't even be PRINTED!! X-Newsreader: Gnus v5.1