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

Re: 'svn status -u -v', behavior and APIs

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-10-04 20:09:47 CEST

On Tue, 04 Oct 2005, Mark Phippard wrote:
...
> > On Tue, 04 Oct 2005, Peter N. Lundblad wrote:
> > > Can't we just rename the URL field from ood_url to url and always
> > > populate
> > > it with the entries URL. We can share this data with the svn_wc_entry
> > > if it exists, so the cost is just an extra pointer in the
> > > svn_wc_status2_t struct.
...
> I do not know what the implications are (in terms of memory) for having
> that extra URL in the C API. In the case of JavaHL, however, it would be
> very simply to not add a second URL field to the Java class, and then
> simply populate the existing URL field in the class with the URL from the
> ood part of the structure when the other URL field is null.

The JavaHL implementation is easier because of the accessor method. The
incremental memory cost is only one pointer's worth in the C implementation.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 4 20:09:13 2005

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.