Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CUSTOM or SESSION ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00504740
Message ID:
00504802
Vues:
22
>>Thanks george,
>>
>>will this SESSION statement result in a smaller
>>memory footprint?
>>
>Erwin,
>
>I'd think so, but haven't really checked. FWIW, the next lightest is a line object. So even before the session class was introduced it wasn't the lightest.

Actually, the session class comes in around the middle of the pack in terms of memory footprint. The real reason to use it is as you said, fewer PEMs. This makes for better performance when using late binding (fewer entries in the VTABLE).

You can make the VTABLE even smaller by making all the PEMs you don't need hidden. As Craig said, this has been done for you in VFP 7 but it is doable in VFP 6 with a little work.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform