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

Re: svn commit: rev 3441 - trunk/subversion/libsvn_subr

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-10-23 02:59:40 CEST

On Tue, Oct 22, 2002 at 11:28:52PM +0200, Branko Cibej wrote:
> ghudson@tigris.org wrote:
>...
> >+/* There's no need for global data here. Just pass __FILE__ and
> >+ __LINE__ to the true names of svn_error_create() and friends. To
> >+ avoid having two variants each of three functions, always record
> >+ file and line information; there's no reason not to. --ghudson */
>
> Hm. Someone remind me why I didn't do it this way in the first place.

Maybe because if the compiler does not fold string constants, that you will
seriously bulk up the files? [even in the non-debug case]

If it was for perf reasons (avoid the two params!), and I said that, then
feel free to slap me at ApacheCon :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 23 03:00:02 2002

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.