Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object vs. array?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01420180
Message ID:
01420186
Vues:
106
>Hi,
>
>I am using arrays as way to pass the information from UI to BIZ/DA objects but thinking about changing to objects (using SCATTER/GATHER). In terms of memory use, do objects require more memory?

Are you comparing SCATTER type of variables here, e.g.

SCATTER TO ARRAY arrTemp

SCATTER MEMVAR

SCATTER NAME loRecord

?

I know that in big loops scatter name performs worse than scatter memvar, so it may be that name clause uses more memory than memvar. Otherwise the difference may be negligible.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform