Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using methods, does it speed up a program or make is slo
Message
From
16/07/1998 16:39:15
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00118332
Message ID:
00118340
Views:
21
Unless the method is called from inside a loop, the extra time it take to call a method/procedure/function will not be noticable.

>I had a form with page frames which was originally 128k. I noticed a lot of the code was repetitive on each page, therefore, I created methods. Every time the same code came up, I just referenced the method. I managed to get the form down to 50k, but I noticed my executable file increased by 225k. Using methods decreases the typing or copying code, but am I losing performance by doing it this way? Also this questions is for functions and procedures too.
Previous
Reply
Map
View

Click here to load this message in the networking platform