Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execution
Message
De
09/01/2006 15:07:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01084782
Message ID:
01084910
Vues:
9
To expand a little:
working with properties vs. variables also carries a minuscle perf hit.
But the real thing to watch for is the code inside loops -
if there is a lot of swinging through the object model then
(toForm.oPage[xxx].oContOuter.ocontInner.myControl.Value for instance)
you should use one of the ways to get a direct reference.

In COM based situations working down the object graph is even more expensive
because of marshalling.

HTH

thomas

>Method calls are slightly slower than UDF calls. But you won't really notice a performance difference until you get into the scope of hundreds of thousands of calls or more.
>
>The code inside methods runs at the same speed as inside a prg.
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform