Re: [PATCH] pack-objects: only throw away data during memory pressure
- From
Brian Downing <bdowning@lavos.net>
- Date
- Feb 12, 2008, 17:17 UTC
- Message-ID
- <20080212171713.GH27535@lavos.net>
- In-Reply-To
- <20080212171403.GG27535@lavos.net>
On Tue, Feb 12, 2008 at 11:14:03AM -0600, Brian Downing wrote:
Show 5 quoted lines
> Sometimes I want a bounded window size with bounded memory usage; i.e. a > maximum of 50 entries OR 256 megs worth. That's for everyday repacking > of my troublesome repository; without the window going down to less than > 10 or so for the large files, it still takes way too long, but doing the > whole thing at 10 makes for very poor packing.
(Yeah, the default depth is 10. I admit to shooting from the hip a bit in my description above, but I do really use that mode of operation, and wouldn't like to lose it.)
-bcd