Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance against Class hierarchy
Message
 
À
08/07/2002 21:40:15
Max Chen
Yx Software
Shunde, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00676416
Message ID:
00676452
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform