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

Re: svn_client_proplist slow to get all of one dir

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-10-31 18:00:59 CET

On Sun, 31 Oct 2004, Barry Scott wrote:

> Why is one call to svn_client_proplist that returns details on 54 files
> 10 times faster then 54 calls to get
> info on single files?
>
svn_client_prop_list will open the repository for each call. That's
probably more work than examining an open repository. If this is a big
problem, you could use the RA layer directly. It is more code, but gives
you more flexibility as well.

I'm not saying we shouldn't consider replacing recurse with depth if it is
a common need, just hinting that you can accomplish what you want with the
existing public APIs.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 31 17:51:25 2004

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.