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

Re: New SHA1 property for nodes returned 'svn ls --xml' invocations.

From: Julian Foad <julianfoad_at_apache.org>
Date: Tue, 1 Nov 2016 10:29:41 +0000

Branko ─îibej wrote:
> Paul Hammant wrote:
>> I still think it would be good for sha1's to be calculated for directories *too*. Better still if those obeyed user permissions too.
> Server CPU is a limited resource. File content hashes are not affected
> by user permissions, so they can be computed once and reused. A hash of
> a user-specific view of directory contents would have to be recalculated
> at every access.

It would only have to be recalculated when the user's access has
changed. More precisely, when the user's access doesn't match that of
any already-cached result. That can be more efficient.

And server network IO is a limited resource too. Any server-side
calculation required might in any case be preferable to sending all
the data out so that each client can calculate the result itself.

- Julian
Received on 2016-11-01 11:30:05 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.