[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Using svn_hash__make instead of apr_hash__make

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Sun, 20 May 2012 08:41:38 -0700

On Sun, May 20, 2012 at 4:37 AM, Stefan Fuhrmann
<stefanfuhrmann_at_alice-dsl.de> wrote:
> Directory deltification making wordpress.org
> go from 400+GB to 10GB *is* a reason.
> Without stable hashes, we would need special
> code for hash deltification.

Having a stable hash function sure doesn't seem like this would
account for that reduction. Can you please elaborate?

> Again, these are my reasons for using svn_hash__make:
>
> * consistent behavior of SVN across different APR versions
> * give devs time to check all the 500+ places that create
>   hashes throughout SVN for implicit assumptions on
>   ordering and such.
> * performance improvement; particularly with directory-
>   or property-related operations

I don't believe the first two matter in any tangible way.

And, the third point doesn't make any sense to me without a further
explanation. -- justin
Received on 2012-05-20 17:42:11 CEST

This is an archived mail posted to the Subversion Dev mailing list.