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

Re: svn commit: r1496886 - /subversion/trunk/subversion/libsvn_client/ra.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 26 Jun 2013 17:57:26 +0200

On Wed, Jun 26, 2013 at 05:50:58PM +0200, Stefan Fuhrmann wrote:
> On Wed, Jun 26, 2013 at 2:52 PM, Stefan Sperling <stsp_at_elego.de> wrote:
>
> > On Wed, Jun 26, 2013 at 02:46:29PM +0200, Stefan Sperling wrote:
> > > I think this block of code should either enforce and fulfill the
> > > API contract in the exact same way as svn_ra_get_location_segments()
> > > does, or it should not exist at all. I don't think we should bother
> > > with optimizations that don't behave exactly like the non-optimized case.
> >
> > Another idea: what about moving this special case handling into
> > libsvn_ra itself, rather than having it in libsvn_client?
> >
>
> The server-side implementation is pretty efficient already.

libsvn_ra is client-side, so I'm not sure why you mention
the server. But anyway, it seems you've determined the RA
API is too general to allow for this optimisation.

> This has been about the extra network roundtrip (Interwebs!).
>
> r1496957 accomplishes that optimization now.

I'll take a look. Thanks!
Received on 2013-06-26 17:58:01 CEST

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