[Patch] libstdc++/28080 (partial)
Paolo Carlini
pcarlini@suse.de
Sat Feb 17 21:29:00 GMT 2007
Paolo Carlini wrote:
> while working on something else, I noticed that by tweaking the
> codecvt_members.cc includes and consistently using __CHAR_BIT__ in
> stl_bvector.h too we can avoid including <climits> anywhere in the
> headers.
In fact, I have been able to beef up the patch to a decent improvement
on libstdc++/28080: most of the times we can avoid including the big
stl_algo.h because stl_algobase.h is enough. That is consistent with the
original motivation of the split, I think. For example, for:
#include <string>
the preprocessed output goes from 482992 bytes to 361737 bytes.
Again, tested x86/x86-64, both locale models, also without PCHs.
Paolo.
///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_28080
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070217/54b1b751/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_28080
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070217/54b1b751/attachment-0001.ksh>
More information about the Libstdc++
mailing list