This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28080] header dependencies
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2006 16:35:41 -0000
- Subject: [Bug libstdc++/28080] header dependencies
- References: <bug-28080-8082@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from gdr at integrable-solutions dot net 2006-06-23 16:35 -------
Subject: Re: header dependencies
"chris at bubblescope dot net" <gcc-bugzilla@gcc.gnu.org> writes:
| I did implement a version of this myself, basically by writing a
| mapper around each container that did a few static_casts and mapped
| the functions to a void* version of the container. However, having a
| whole new bunch of inline functions causes problems for the
| compiler, without providing (as far as I could measure)
| significant reductions in the size of the executable.
I'm not surprised. We should be very cautious about increasing
abstraction penablty for the benefit of marginal reduction on header
dependencies. Runtime performance of the library should not be
under-emphasized.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28080