From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5570 invoked by alias); 23 Jun 2006 16:35:51 -0000 Received: (qmail 5472 invoked by alias); 23 Jun 2006 16:35:41 -0000 Date: Fri, 23 Jun 2006 16:40:00 -0000 Message-ID: <20060623163541.5471.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/28080] header dependencies In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gdr at integrable-solutions dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg02150.txt.bz2 List-Id: ------- Comment #8 from gdr at integrable-solutions dot net 2006-06-23 16:35 ------- Subject: Re: header dependencies "chris at bubblescope dot net" 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