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