Long to Double variables in VB6

5 pts.
Tags:
Visual Basic
Visual Basic 6
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following