Re: New SHA1 property for nodes returned 'svn ls --xml' invocations.
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.
Received on 2016-11-01 11:30:05 CET
This is an archived mail posted to the Subversion Dev