View Single Post
  #3144 (permalink)  
Old 04-24-2009, 09:14 AM
gguruusa's Avatar
gguruusa
Deep Thinker
Offline
Location: Mountain top
 
Join Date: Jan 2007
Posts: 3,252
Reputation: 4726
gguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: WM 6.5 Kitchen QVGA and VGA Developer Edition

Quote:
Originally Posted by joojoobee666 View Post
I guess that would be fine. If the ten cars just sat there a lot of times, why not waste 2? Or am I still missing one other key factor? (which is entirely possible, I'm sure...hell, it's probably more than one...)
You carrying the suitcase is equivalent to nonxip, me carrying the suitcase is equivalent to xip. Do you trully gain any space moving the suitcase from you to me? No. You still have 10 cars no matter how you slice and dice it, but 1.5 cars is wasted if you over allocate to me. Sure, 8 to you and 2 to me with you carrying the suitcase is the worst for you, and you get a perceived gain of .5 by me carrying the suitcase, but the best is to fix your allocation: 10 for you 0 for me, and you carry the suitcase (because you probably don't always have a suitcase). If you've really gotta have the suitcase handy at all times, even 9 for you 1 for me, and me carrying the suitcase is better than 8 + 2 and me carrying the suitcase.

The point is there is a fixed amount of memory over which to distribute stuff and optimal division of your resources will give you the maximum gain. You will not gain additional RAM by xipping (analogous to adding an 11th car). Overallocating and then pointing out the gain of moving from one area to the over allocated area is a poor example of gain compared to allocating efficiently in the first place.

Your original statement was that you save 4MB approx. of memory by moving igo to xip region. Now you're saying it's ok to waste some space because you have so much. These are competing ideas - either you are trying to maximize or you are not, but being wasteful in one area and then trying to maximize your wastefullness is not an optimum strategy.
__________________
Grammar: The difference between knowing your shit and knowing you're shit.

Last edited by gguruusa; 04-24-2009 at 09:22 AM.
Reply With Quote
This post has been thanked 2 times.