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

Re: Splitting diff functionality out of libsvn_delta

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-17 21:43:07 CET

"Sander Striker" <striker@apache.org> writes:

> Would anyone object me splitting the diff functionality out
> of libsvn_delta into its own lib; libsvn_diff?

One argument against doing this is that increasing the number of
shared libraries increases the startup time overhead incurred by
clients that use the libraries.

> Currently the namespace protection* already suggests this is
> the case.
>
> What needs to happen is basically:
>
> subversion/libsvn_delta/diff.c
> subversion/libsvn_delta/diff_file.c
>
> Move and expand to:
>
> subversion/libsvn_diff/diff.h
> subversion/libsvn_diff/diff.c
> subversion/libsvn_diff/diff3.c
> subversion/libsvn_diff/diff4.c
> subversion/libsvn_diff/lcs.c
> subversion/libsvn_diff/token.c
> subversion/libsvn_diff/util.c
> subversion/libsvn_diff/diff_file.c

A simple reorganisation like that will leave libsvn_diff depending on
libsvn_subr due to the svn_io_xxx calls. Is that what you intended?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 17 21:44:05 2003

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.