[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-11-06 15:31:21 CET

On Sat, 6 Nov 2004, Barry Scott wrote:

> On Nov 6, 2004, at 12:35, Philip Martin wrote:
>
> > 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.
>
> The win is that you only have to do a file open on one file rather then
> lots of files/directory. I'm sure that parsing one file is far faster

The point is that if get to the point where we can say: no working props
-> no prop changes, you won't have to open any prop files, just check the
file attributes.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 6 15:22:05 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.