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

Re: Subversion and Macintosh resource fork

From: Ben Reser <ben_at_reser.org>
Date: 2005-04-07 23:06:39 CEST

On Thu, Apr 07, 2005 at 07:33:08PM +0100, Philip Martin wrote:
> "Brian W. Fitzpatrick" <fitz@collab.net> writes:
>
> > 2. Resource forks can be EXTREMELY LARGE, and while Subversion
> > properties can be extremely large, I believe the recommendation is to
> > keep them under 64K.
>
> I guess that's a DAV restriction? As far as I know nothing else cares
> how big they are.
>
> One other thing to know about properties is that, unlike the text,
> they don't have checksums and so are more vulnerable to corruption.

IIRC.

The properties are stored in a hash at various points in working with
them and the entire hash is stored in memory. Thus properties with
large sizes can be exteremely unfriendly to memory. Also anytime you
ask for a single property we read in the entire set of properties into
the hash.

I'm pretty sure that's why we discourage people from using large
properties. They will work, but you're paying a huge performance cost.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 7 23:07:23 2005

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