Re: do we really need xrdb?



Ross Burton wrote:

>On Tue, 2005-10-18 at 20:01 +0800, James Henstridge wrote:
>  
>
>>>I've just sent a patch
>>>(http://mail.gnome.org/archives/gnomecc-list/2005-October/msg00024.html)
>>>for using -nocpp where possible.
>>> 
>>>      
>>>
>>Given the problems mentioned before with parsing Xresources without a
>>cpp, is this actually worth it?
>>    
>>
>
>The locations where CPP was removed don't need to do any pre-processing,
>as they merge in a generated string and not .Xresources.
>  
>
The question was: if gcc has already been paged in (e.g. by a prior xrdb
call), does this change provide any noticeable benefit?

The previous discussions seemed to indicate that the largest performance
wins would come from not paging gcc in at all, which will only happen if
either (a) all xrdb calls use -nocpp or (b) xrdb uses a different C
preprocessor.

James.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]