Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RELEASE memory - vs - reDIMENSION
Message
 
 
À
12/08/2002 09:48:34
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00688564
Message ID:
00691267
Vues:
12
>i have a protected array in a class definition. once the
>containing object is instantiated, the length of this array
>fluctuates, and i reDIMENSION the array as necessary.
>
>question: when you reduce the array length via the DIMENSION
>statement, is that memory freed up as effectively as
>if i RELEASE the array entirely and recreate it ?

There's no doubt in my mind that releasing array would allow VFP manage memory better. However, the question is, will be difference significant enough to warrant use of that instead of re-demenstion. Only tests could answer that.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform