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

Re: status information

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 17 Jun 2010 22:48:18 +0200

On 17.06.2010 22:35, Bert Huijben wrote:

>> Sure, I said before I can get any information myself, but only with
>> a severe performance hit. Because every time I call an svn_client_*
>> API, it walks the whole tree again, opens the files again, opens
>> the db again and again, ...
>
> svn_client doesn't open the db again. (The handle is cached in the
> svn_client_ctx_t's wc_ctx field) and if you set a proper depth value
> on your call it doesn't traverse any other nodes then the one you
> specify.

But I need that information for all entries in the tree. So I have to
traverse the whole tree again.
Tree walks are expensive.

I don't have a problem calling another API to get additional info where
i need it only for one or just a few items. But most of the time, I need
that information for the whole tree.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-06-17 22:49:04 CEST

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.