5 pts.
 Long to Double variables in VB6
If I change all of my Long Variables to Double Variables in VB6 will it make my application to slow down?

Software/Hardware used:
Visual Basic 6
ASKED: August 14, 2009  1:33 PM
UPDATED: August 14, 2009  2:19 PM

Answer Wiki:
I don't think so, but it really depends on what your application does, and where it is running. Long variables use 4 bytes of memory while Double use 8 bytes. Unless you use a really huge number of variables, and the system in which the program runs has not enough resources, I don't think it will be noticeable. Also, the number of mathematic calculations the program performs is important. If the program perform a huge number of calculations, its performance could be affected with the change.
Last Wiki Answer Submitted:  August 14, 2009  2:19 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _