[AccessD] Long vs. Integer WAS: Global Variables

John W. Colby jwcolby at colbyconsulting.com
Thu May 19 10:20:05 CDT 2005


>I wonder why Arrays are slower with Longs....interesting.

MAYBE memory packing - 2 integers per word but only one long per word.  It
would take twice as long to read it from main memory into the on chip cache
and twice as long to write it back out to main memory.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com
Sent: Wednesday, May 18, 2005 5:17 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Long vs. Integer WAS: Global Variables


I wonder why Arrays are slower with Longs....interesting.

Drew

-----Original Message-----
From: Francisco Tapia [mailto:fhtapia at gmail.com]
Sent: Wednesday, May 18, 2005 4:05 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Long vs. Integer WAS: Global Variables


my figures on a P4 1.6ghz pc (win2k sp4)
16bit No Array 7609
16bit Array 16750
32bit No Array 5297
32bit Array 20891






More information about the AccessD mailing list