On Wed, 20 Apr 2005, Linus Torvalds wrote:

- _keep_ the same compression format, but notice that we already have an
  object by looking at the uncompressed one.

With a chunked file, you can also skip writing certain *subtrees* of the file as soon as you notice it's already present on disk. I can code this up if you are interested.

Of course, the paranoid folks will give up any performance benefit you obtain if they keep their "yes the SHA1 matches, but is the file *really* the same" code. But maybe they're willing to be slow -- and they can do an uncompress rather than a compress in order to do the comparison, which will give *some* performance improvement.

LCPANGS Serbian MKSEARCH security KUCLUB LCPANES Saddam Hussein Secretary Delta Force AMLASH ESMERALDITE TPAJAX plutonium ESGAIN Ft. Meade India
( http://cscott.net/ )
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Reply via email to