Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object vs. array?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01420180
Message ID:
01420186
Views:
105
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform