Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One VCX with many classes/Many VCXs with few classes
Message
From
13/12/2001 18:25:48
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00594131
Message ID:
00594146
Views:
19
You wouldn't have to SET CLASSLIB TO all the class libraries. As for speed, there were some tests done under VFP3, I think by Flash, that showed there was not a big performance hit until you had subclassed to something like 300 levels.

>Craig,
>
>>Smaller would be better. Let's say you have 800 in a single VCX and your application only uses 100 of them. The other 700 will still be included in the EXE.
>
>Thanks for your reply! You're right, this is a point. At the moment I have my classes split up to many small ones. But if instantiating would be really faster if I had them all in one VCX this would be more an advantage than including them all would be a disadvantage, since these classes are very small ones, so the size of the EXE/DLL wouldn't be affected that much.
>
>I was wondering for example, if many SET CLASSLIBs slow down instantiation of any classes or not ... or if there is any VFP internal caching issue that affect instantiantion speed ...
>
>Armin
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform