Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build directory structure
Message
From
13/08/2009 13:40:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/08/2009 12:38:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01417859
Message ID:
01417956
Views:
54
>I have run more testing and I am getting rather interesting results.
>I am running my testing locally now and using the following:
>o = NEWOBJECT('classlib.classname', "networklocation\exename.EXE")
>That works as slow.....
>Next, I am doing this:
>o = NEWOBJECT('classname', "networklocation\classlib.vcx")
>Works 1000 times faster. What am I missing?

The latter will find classlib.vcx inside the current executable, where it has all the jump tables and whatnots to find it in a couple of hops. The former, however, tells it it's somewhere in the executable, which it, I guess, searches for some header string, probably quite sequentially. Which would take time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform