[Patch] libstdc++/28080, more
Paolo Carlini
pcarlini@suse.de
Mon Feb 19 19:07:00 GMT 2007
Hi,
the below continues the work: besides the straightforward tr1/random and
tr1/memory bits (usual idea of avoiding the whole, big <algorithm>, when
possible), I'm also splitting out from <tr1/functional> the hash
functions to functional_hash.h: this allows to include only the latter
in tr1/unordered_map and unordered_set and the compilation of those
headers alone becomes about 3 times faster, because we avoid all the
preprocessor metaprogramming (the preprocessed headers are also less
than half the size).
Hoping for variadic templates to go in mainline relatively soon (after
Oxford?), the latter changes, very safe anyway, seem particularly
important for the 4_2-branch, and I mean to commit there too.
Tested without PCHs too, x86/x86_64-linux.
Paolo.
///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_28080_bis
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070219/062093a2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_28080_bis
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070219/062093a2/attachment-0001.ksh>
More information about the Libstdc++
mailing list