Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance against Class hierarchy
Message
 
To
08/07/2002 21:40:15
Max Chen
Yx Software
Shunde, China
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00676416
Message ID:
00676452
Views:
17
This message has been marked as the solution to the initial question of the thread.
Max,

The number of layerrs of subclassing does not have any noticable effect on performance. The single most influential thing that affects performance is the code you put in the events of the classes.

I once saw Calvin Hsia run a test of layers of subclassing wihtout any user code in any events. He took it to a layering of 1,000 subclass levels without any measurable difference in instantiation time. Of course the key point here is that there was NO CODE in any of the methods that had to run.
Previous
Reply
Map
View

Click here to load this message in the networking platform