[Patch] More of libstdc++/28080

Paolo Carlini pcarlini@suse.de
Mon Feb 26 00:21:00 GMT 2007


Hi,

the below is another batch: in some cases the improvement is big, for 
example <numeric> now is just ~10 Kb, <valarray> is also much smaller. 
Apparently, compile-time performance consistently benefits, nice.

The general effort of including only a minimal set of headers, also 
means including in <bitset> and <iomanip> only <ios> instead of the 
whole <istream> and <ostream>: I think it's fine, because the actual 
definitions are used only in template functions, but please double check 
with me.

Also note that some spared inclusions can be very simply explained by 
the relatively recent split out of some HP/SGI facilities to ext/: such 
headers are used only by facilities now in ext/ headers.

Tested x86-linux without PCHs (and not including the whole <locale> in 
testsuite_hooks.h helps making the tests more effective, I hope)

Paolo.

/////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_28080_ter
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070226/b9774d24/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_28080_ter
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070226/b9774d24/attachment-0001.ksh>


More information about the Libstdc++ mailing list