[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: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-11-01 01:30:16 CET

On Mon, 2005-10-31 at 23:14 +0000, Philip Martin wrote:
> Garrett Rooney <rooneg@electricjellyfish.net> writes:
> > On 10/31/05, Erik Huelsmann <ehuels@gmail.com> wrote:
> >> working copy layout anymore, I thought to eliminate the 'empty-file'.
> >> If I find a way to do this, without making the code more complex, do
> >> you think this is a change our compat guidelines allow?
> Yes.
> > +1, if we can get rid of it we should save everyone the disk space...
> If the filesystem doesn't allocate any disk blocks for empty files
> then there won't be much of a disk space saving, just an inode saving.
> Removing the README.txt file would save disk space.

Some do, some don't.

However, removing all the empty dirs, even though they had empty files
in it, saved me 30 meg on a gcc checkout.

This was on reiserfs
It's about 60 meg on ext3

So we should strive to not create files until we need them, assuming we
don't pay performance for it.

I also imagine stat of non-existent file is faster than stat of empty
file :)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 1 01:30:46 2005

This is an archived mail posted to the Subversion Dev mailing list.