[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: Branko Čibej <brane_at_xbc.nu>
Date: 2002-10-23 06:29:40 CEST

Greg Stein wrote:

>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]
>
That's possible, yes.

>If it was for perf reasons (avoid the two params!), and I said that, then
>feel free to slap me at ApacheCon :-)
>
Aaah, now that's given me an incentive to search the archives, despite
the horrible search engine. :-)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 23 06:30:28 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.