Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Questions
Message
From
20/01/1999 20:49:54
 
 
To
20/01/1999 19:39:13
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00177951
Message ID:
00178340
Views:
27
Calvin,

Excuse me for jumping in here, but I happened to come across this thread and got interested.

I would add to Vlad's response that when A is derived from B, A and B are both in memory, but A's contents are much smaller then B's because A contains a reference to B and instructions on what changes were made in B to produce A.

When you instantiate A and test for memmory used, the derive A from B, the amount of memory used is much less than double. Clearly then A is referencing B for a lot of the information used to create A.

What that tells me is that if I create B then derive one instance from it, I have actually used up more memory than if I just used B instead of deriving A from it and using A. But if I derive A, C, D, E, and F., the memory savings are considerable over using B five times.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform