Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using methods, does it speed up a program or make is slo
Message
De
16/07/1998 16:39:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00118332
Message ID:
00118340
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform