Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does commented code really affect size of .exe?
Message
De
03/02/2011 12:00:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01498562
Message ID:
01498576
Vues:
100
>>>Hi,
>>>
>>>I wonder if a commented code adds to the size of the .EXE? My guess is that since the commented code increases the size of the .VCT file (of the class library where the code resides) it has to affect the .EXE; that is, it has to increase its size. Does it make sense?
>>
>>Yes
>
>Thank you, Gregory. The reason I was asking the question is I have tons of commented code (just in case that never happens :)) and the .EXE keeps growing up. So I will probably delete a lot of commented code and then pack the .VCX files.

I would not bother about the size of the commented code.
Just pack the vcx, scx files - that should be sufficient

Each time you edit a class or a form, its size increases. Mainly vct/sct. When you edit one method, all the methods are rewritten in one code block

Just tested on a small vcx (15 k), edited a method and it became 20k
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform