Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed: Methods vs. External Functions?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00030888
Message ID:
00031150
Vues:
42
>Ack, external functions are actually _faster_ than methods? Can anyone >confirm this?

I just did a test that simply called each of a method, fucntion in proc file and prg function. The functions return .t.. I called them 10,000 times each and the times ( for 10,000 calls) were;

Method 0.6 Avg
Procedure file func 0.2 avg
PRG func 0.2 avg

I would conclude that although there is a difference between the calling of methods vs procs, it is insignificant as it is less than 0.4 seconds for 10,000 calls.

JimBooth
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform