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

Re: wc-format upgrades && the 'empty-file' in the .svn area

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-11-07 08:33:40 CET

On Sun, 6 Nov 2005, Greg Stein wrote:

> On Wed, Nov 02, 2005 at 09:32:15PM +0100, Peter N. Lundblad wrote:
> >...
> > There's a TODO in the root directory of that branch that describes what
> > will happen there.
>
> Will text base compression be on the list of items? Or least an eye
> towards making it possible?
>
Not on the current plans for this branch. But there is happening a lot in
libsvn_wc these days, so... One neverknows:-)

> Any consideration towards a aggregating all properties into one big
> file rather than N separate files? Along these lines, maybe storing
> the dir props into the entries file. And/or combining regular and wc
> props into one file with markers to distinguish the two types.
>
the current plan is to just store base props if the working props are not
modified. That will half the number of props files in the common case when
there are no (or few) prop mods.

We've been discussing ways to make the property store more efficient.
Daniel Berlin has been experimenting with sqlite; we might post about that
soon.

A problem with storing all props in one file is that the whole file needs
to be rewritten for a single propset command. One idea I have, that is
just an idea, is to store baseprops in a single file and store working
props in one file per dir entry. My reasoning is that many operations will
update all props in a bunch (such as update), but it isn't always true.
Update and commit of individual files, where we need to replace base
props, will require rewriting the whole props file. This is all about
tradeoffs, as always:-)

Would storing dirprops in the entries file really be a big gain? I worry
most about properties for files, since there tends to be more files than
directories.

OK, many loose thoughts. The good thing is that we can experiment on
wc-propcaching branch without disrupting peoples work on trunk.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 7 08:34:45 2005

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.