Re: [PATCH] pack-object: trim memory usage a tiny bit
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Aug 7, 2010, 00:04 UTC
- Message-ID
- <AANLkTingdhx5osnbiLVMyWaauCf1TRiMzcSC76gQRp9B@mail.gmail.com>
- In-Reply-To
- <AANLkTikL8MtqFr1T=3TKA7GLKSEbyvf+6SLTT2BYehto@mail.gmail.com>
Heya,
On Fri, Aug 6, 2010 at 19:03, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> struct object_entry is allocated for every object to be packed. So if > you do a clone on linux-2.6, you would need 1.6M of those structs, 88 > bytes each. I cut 8 bytes from each of them.
Sure, that was clear enough. But _how_? What needs to be done to retain this? Are there any downsides?
-- Cheers, Sverre Rabbelier