Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Request Advice on Classes
Message
De
16/10/1998 09:26:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00147168
Message ID:
00147447
Vues:
34
>>>I am new to using classes and am concerned about performance. To speed up the load time of my pageframes I have created a class called pgframes.vcx and added the individual pages to it. Should I be using a separate library file for each pageframe? I noticed that the current .vcx file is 1.2 megs with about 12 pages from 3 pageframes. What is the effect of loading this large file? Should I release the library each time? Should I break up the library so I am not loading unnecessary information? Any feedback is most appreciated.
>>>Marcus.
>>
>>Vcx files, like dbc files don't take care of themselves very well. If you do your developing in the vcx itselfs, its file size can grow very quickly from bloat. Try opening your vcx as a table with
>>USE mylibrary.vcx EXCl
>>and packing the table. You'll see the file size shrink to a fraction of its current.
>
>Thanks Erik! That's a great tip, my .vcx file went from 1200k to 570k.
>Marcus.

Your exe shrunk that much too.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform