login
Header Space

 
 

Re: Why SHA are 40 bytes? (aka looking for flames)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andreas Ericsson <ae@...>
Cc: Marco Costalba <mcostalba@...>, Jon Smirl <jonsmirl@...>, Git Mailing List <git@...>
Date: Tuesday, April 24, 2007 - 12:19 pm

On Tue, 24 Apr 2007, Andreas Ericsson wrote:


Ah, sorry.  Still I wanted to advise against it nevertheless.

Anyway, if you compare packing with repack.usedeltabaseoffset set to 
true, then to false, you'll have a pretty good approximation of the SHA1 
storage cost.  With most objects as deltas, in the first case the 
reference to the base object is stored as an offset in the pack while in 
the second case the full SHA1 is used.  You can deduce from the size 
difference that the SHA1 doesn't constitute a terrible storage cost 
indeed.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why SHA are 40 bytes? (aka looking for flames), Marco Costalba, (Sat Apr 21, 9:35 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Jon Smirl, (Sat Apr 21, 11:37 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Marco Costalba, (Sat Apr 21, 1:06 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Nicolas Pitre, (Sun Apr 22, 9:27 am)
Re: Why SHA are 40 bytes? (aka looking for flames), H. Peter Anvin, (Mon Apr 23, 8:46 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Nicolas Pitre, (Mon Apr 23, 10:44 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Shawn O. Pearce, (Mon Apr 23, 10:30 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Jon Smirl, (Sat Apr 21, 1:59 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Marco Costalba, (Sat Apr 21, 2:28 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Andreas Ericsson, (Tue Apr 24, 10:48 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Nicolas Pitre, (Tue Apr 24, 11:04 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Andreas Ericsson, (Tue Apr 24, 11:18 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Nicolas Pitre, (Tue Apr 24, 12:19 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Jon Smirl, (Sat Apr 21, 3:36 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Andy Parkins, (Sat Apr 21, 11:08 am)
Re: Why SHA are 40 bytes? (aka looking for flames), Marco Costalba, (Sat Apr 21, 12:58 pm)
Re: Why SHA are 40 bytes? (aka looking for flames), Marco Costalba, (Sat Apr 21, 1:09 pm)
speck-geostationary