subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hyrum K Wright <>
Subject Re: Why do we check the base checksum so often?
Date Sun, 05 Feb 2012 01:02:30 GMT
On Sat, Feb 4, 2012 at 4:12 PM, Bert Huijben <> wrote:
> We already assume Sha-1 is unique in wc-Ng, so introducing sha256 would
> not help.

Well, it wouldn't be difficult to bump the wc version and recompute
sha256s for all the pristines.  I'm not advocating that course of
action, just saying it would be possible.

This does bring up a good point, though.  What kind of forward
compatibility, if any, do we need in Ev2 to support a checksum

> It is also much more expensive to obtain then sha1 and md5.

Actually, sha256 is only about 35% slower than sha1, whereas sha1 is
more than 65% slower than md5 (Source:  I don't know if apr has a
sha256 implementation, but it wouldn't be hard to find one.



uberSVN: Apache Subversion Made Easy

View raw message