Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.exe or .app or .fxp faster?
Message
De
14/09/1999 12:03:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00264432
Message ID:
00264529
Vues:
23
Ok, your mileage will vary...
with the procedure built into the calling program: .7661 seconds
with the procedure external to calling program: 6.0516
with the procedure external + set procedure to: .7994
above + comment out the procedure myproc line: .8080
procedure built into main + set proc to main: .8122

The test was very similar to the way my program works, ie, the main program was a loop (for x = 1 to 100000) with do mytest in the loop.
Procedure mytest just did a dummy variable assignment and then returned to the calling program.

>>I hedged my bets, I'm doing both. :-) I set procedure to main.prg in the startup routine :-)
>
>Well, let me know which is faster, if you would. I'm all of us could benefit from this knowledge.
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform