TIP: Click on subject to list as thread! ANSI
echo: delphi
to: STEVE ROGERS
from: GARY WEINFURTHER
date: 1997-08-13 08:27:00
subject: CARDINAL

Steve Rogers mentioned this to Gary Weinfurther:
 GW>> You should use integers, which are always sized for best performance.
 SR>   As opposed to Words ?
Right.  An integer has different meanings depending on the base platform.  In 
Delphi 1, an integer is 16 bits.  In Delphi 2 and 3, an integer is 32 bits.
 GW>> They take less room (thus are good for record storage).  The CPU has to
 GW>> split
 >> 32 bit value to operate on them, so they are slightly slower to operate
 >> on.
 SR>   Huh? I thought 32 bit CPUs worked, well, with 32 bits.
That's what I said.  The CPU works faster with 32 bits, and has to do extra 
work to operate on 8 or 16 bit values.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.