[AccessD] Long vs. Integer WAS: Global Variables

Brett Barabash BBarabash at TappeConstruction.com
Wed May 18 14:23:00 CDT 2005


> I ran it in debug in VB
Are you aware that this is an Access list?  ;-)

Looks like the VB compiler has some tricks to optimize 32-bit integers.
What's interesting is that the complete opposite is true when this is
done in Access.

Either way, I don't think it will cause anyone on the list to refactor
their code to squeeze out a few extra ticks of performance.
 

-----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 1:57 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Long vs. Integer WAS: Global Variables


I ran it in debug in VB, and got only a slight variation....Longs being
slightly faster.  However, your code compiled produced:

3405 ticks (integer)
2193 ticks (Long)

(Repeated runs get close to the same)...

Drew

--------------------------------------------------------------------------------------------------------------------
The information in this email may contain confidential information that 
is legally privileged. The information is only for the use of the intended 
recipient(s) named above. If you are not the intended recipient(s), you 
are hereby notified that any disclosure, copying, distribution, or the taking 
of any action in regard to the content of this email is strictly prohibited.  If 
transmission is incorrect, unclear, or incomplete, please notify the sender 
immediately. The authorized recipient(s) of this information is/are prohibited 
from disclosing this information to any other party and is/are required to 
destroy the information after its stated need has been fulfilled.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Tappe Construction Co.

This footer also confirms that this email message has been scanned
for the presence of computer viruses.Scanning of this message and
addition of this foo
on with virus detection software.




More information about the AccessD mailing list