On 9/2/06, Barry Scott <barry@barrys-emacs.org> wrote:
>
> On Aug 31, 2006, at 02:26, Ben Collins-Sussman wrote:
>
> > On 8/30/06, Mark Phippard <markp@softlanding.com> wrote:
> >
> >> It isn't a great idea to be doing your own parsing
> >
> > ...especially since we've already provided you an API to do it. :-)
>
> A very very very slow API in the case of properties.
>
> In pysvn WorkBench I parse the working copy to get properties for
> all files in one directory. The python code that does this is atleast
> an order of magnitude faster then the SVN API.
>
> Once SVN has a fast API to get at properties I'd love to use it.
> The key here is that GUIs want info on all files in a directory.
> svn_client_list and svn_client_status are the only two commands
> that will do this. All others require one call for each files that that
> is very slow (because of wc locking?).
>
It used to stat and play around with a lot of files. It also used
single file stats in places that it could have used readdir.
1.4 should be a *lot* better about this (i did a lot of strace and
extraneous stat/etc removal).
Not to mention files without properties no longer have an empty file
associated with them.
--Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 3 01:57:15 2006