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

Re: text-base penalty: A proposed solution

From: Martin Pool <mbp_at_samba.org>
Date: 2002-12-19 05:06:45 CET

I'll just throw this out because nobody has mentioned it yet:

Some kernel developers I know make heavy use of trees of hardlinks.
If you make sure your editor creates a new file on save then this
essentially gives you a large number of copy-on-write trees. Not only
are they cheap in disk space, but it also saves buffer memory and
makes a smart diff run quickly.

I wonder how well Subversion would cope with the text-base being
initially a hardlink to the working copy? Or with two wcs that are
mostly hardlinks?

The drawback is that if your editor doesn't break the link and
therefore also writes to text-base then things will get very
confusing.

Some wise person wrote "more computing sins have been committed in the
name of efficiency (without necessarily achieving it) than for any
reason."

If your trees are this big it might be time to split them into
modules. (I suppose if they're that big and that old then it's
infeasible though.)

-- 
Martin 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 19 05:07:37 2002

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.