Re: Advantage of using byte over Long Integer?
From: Rick Brandt (rickbrandt2_at_hotmail.com)
Date: 02/04/05
- Next message: Mark: "RE: ACCESSS. Take date 1 less 30 days to give date 2"
- Previous message: nevc: "Suppliers Numbers"
- In reply to: J P Hill: "Advantage of using byte over Long Integer?"
- Next in thread: Tim Ferguson: "Re: Advantage of using byte over Long Integer?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Feb 2005 07:09:25 -0600
J P Hill wrote:
> I'm using an Access DB to do a series of calculations. Most of the
> data are stored as doubles to maximise accuracy. However, the Year
> and Month (which are only used for referencing) are stored as Long
> Integers. Am I likely to achieve any increase in performance by
> changing month (i.e. 1 - 12) to Byte and year to Integer?
No.
There is validity to the standard of using the DataType that is large enough for
the job, but no larger, but unless you get into the huge number crunching tasks
normally assigned to "Big Blue" you are not likely to see any difference.
If you set up a test loop and did enough iterations a difference might show up,
but as far as something that your users would notice I would say there's almost
no chance of that.
-- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com
- Next message: Mark: "RE: ACCESSS. Take date 1 less 30 days to give date 2"
- Previous message: nevc: "Suppliers Numbers"
- In reply to: J P Hill: "Advantage of using byte over Long Integer?"
- Next in thread: Tim Ferguson: "Re: Advantage of using byte over Long Integer?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|