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

Re: tagging performance issues

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-20 03:54:23 CEST

On May 19, 2005, at 6:33 PM, Sreekanth Puram wrote:

> Any help would be appreciated.

The time it takes to add a new entry to a directory is O(n). The
repository compresses subsequent versions of file-nodes, but that's
not true for directory-nodes. Every new version of a directory is
written out in full: that is, the entire list of directory entries
is written out every time you add a new child (and create a new
revision).

So, perhaps you shouldn't create 20,000 entries in /tags. Spread
them out, create some sort of tree structure below /tags/.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 20 03:57:10 2005

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