Versions des environnements
Network:
Windows 2000 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement