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

Re: [RFC] A libsvn_wc properties optimisation

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-06 13:35:10 CET

Barry Scott <barry@barrys-emacs.org> writes:

> If you are going to change things go for a bigger win.
>
> Use a single file for the props of all the files in a directory.
> And lose the .svn/props and .svn/props-base directories.

It's been suggested before, but I'm not convinced it's a win. At
present properties are not cached in memory (ignoring any caching by
the OS). If all the properties are in one file, the whole properties
file would need to be read to get the properties each time they were
needed for any one versioned file (in theory I suppose one need only
read half the file on average). Caching the properties in memory is a
bit of an unknown, because there can be an arbitrary number of them
and the property values can be an arbitrary size.

I don't think my current proposal makes it any harder to implement
such a change in future, should anyone wish to do so.

> In my repos I have properties on almost every single file btw.

As does the Subversion trunk. Assuming the normal case is for most of
the files not to have property modifications then you gain by the
removal of all the working properties files.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 6 13:35:33 2004

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.