Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resources Consumed by various Classes
Message
De
17/10/2001 10:46:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
17/10/2001 10:37:40
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00569590
Message ID:
00569597
Vues:
13
I think most classes share a large amount of PEMs, and, therefore, there shouldn't be a tremendous difference.

Perhaps you want to do some acutal testing. Memory usage (used by user-defined objects) can be tested with SYS(1016). Another issue, often more critical, is how much time it takes to Init() and to Destroy() an object.

Hilmar.

>Folks,
>
>We've all heard that different foxpro classes, such as button, form, line, custom, etc., have different requirements. Makes sense. A colleague tells me he first heard this from the venerable Jim Booth.
>
>But I have never seen the actual numbers on this, and therefore I cannot evaluate when it matters and when it does not. If a form is the worst, what does "Worst" mean? Does it consume ten PERCENT more memory and take ten PERCENT longer to instantiate than the lightest class, or does it take ten TIMES more memory and take ten TIMES longer to instantiate?
>
>Anybody know if hard numbers on this are published? Or can someone share a testing methodology to determine the footprint of various classes?
>
>As always, TIA...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform