git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* About Summer of code idea -- better big-file support
@ 2011-03-19 13:15 徐迪
  2011-03-19 13:48 ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 5+ messages in thread
From: 徐迪 @ 2011-03-19 13:15 UTC (permalink / raw)
  To: Git 邮件列表

Hi, there

I am wondering start implementing the idea about better big-file support
during summer of code.
Here are my idea: often gigantic files is media file, such as rmvb, swf,
pdf, dll, etc. And those file themselves are already being compressed, as we
all know, git uses zlib to compress all the object in repository, and it is
the common sense that if we use zlib to compress those file, the compress
ratio will be unbelievable low, from my test if we compress 521MiB mkv file
it will be 520MiB after compressed, how ridiculous it is!
Also I test that if we use "git hash-object" to calculate SHA-1, and copy
all content to repository, it will costs 1 minutes, once we use "git
hash-object -w" it will costs 2 minutes. So we sacrificed a lot, but gained
a little.
So, how do you guys think about that we can test the file type, and then
decide to use zlib or not?
Cheer
Di

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-20 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 13:15 About Summer of code idea -- better big-file support 徐迪
2011-03-19 13:48 ` Nguyen Thai Ngoc Duy
2011-03-19 14:28   ` 徐迪
2011-03-19 15:13     ` Nguyen Thai Ngoc Duy
2011-03-20 12:33       ` 徐迪

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).