This is probably not incorrect when the help was first written, given that
there were still plenty of 386's and 486's around.  I guess nobody bothered
to update the help file since then.

----- Original Message ----- 
From: "Ross Levis" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 12:14 PM
Subject: Re: [DUG] ShortInt, SmallInt


I read this in the D5 help:
The generic integer types are Integer and Cardinal; use these whenever
possible, since they result in the best performance for the underlying CPU
and operating system.

If what you say is true then this appears to be wrong.

I presume packed records are a different story?

Cheers,
Ross.

----- Original Message ----- 
From: "Dennis Chuah" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 11:42 AM
Subject: Re: [DUG] ShortInt, SmallInt


>
> In Pentium CPU's all 8-, 16- or 32-bit operations are performed in one CPU
> cycle, so there is no performance penalty.  What you might be thinking of
> are MOV operations involving non-aligned 16- and 32-bit data.  In this
case,
> the performance penalty is one CPU read or write cycle - which can vary in
> time depending on whether the data is cached or not.


----------------------------------------------------------------------------
----


> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to