Environment versions
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.
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only