Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Benchmark topic #1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Benchmark topic #1
Divers
Thread ID:
00012696
Message ID:
00012696
Vues:
79
Since we are on the subject thought I'd relay some results of a test I did this weekend.

Is code faster if put in the main.prg file as a udf or in a method section of the form.

Answer:

Code in the main.prg file (even a very large 600K prg file) is 13% faster than the same code in a method. Why? I have no idea but that's what I found.

While 13% isn't a big deal if you are doing SQLs with UDFs I guess it would be better do put the udf as a function in the main.prg as opposed to in a method.

FWIW
Todd Burstain, MD
infinitydoc@delphi.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform