Re: two questions about the format of loose object
- From
- Liu Yubao <yubao.liu@gmail.com>
- Date
- Dec 2, 2008, 02:26 UTC
- Message-ID
- <49349CE2.9080205@gmail.com>
- In-Reply-To
- <20081201121611.GC32415@mail.local.tull.net>
Nick Andrew wrote:
Show 12 quoted lines
> On Mon, Dec 01, 2008 at 04:00:55PM +0800, Liu Yubao wrote: >> I did a simple benchmark on my notebook and a server in my company, >> writing a big file to disk is faster than compressing it first and >> writing the result out. The former's performance for reading should >> also be better because of file cache. > > In a corporate environment (and not related to git) I found the > opposite. The disk was fairly slow (over NFS) and it was in fact > quicker to read and write compressed files. > > Nick. >
Ok, there must be exceptional cases, for these cases you can turn off core.uncompressedLooseObject (if there will be this config).
Best regards,
Liu Yubao