This is the mail archive of the
mailing list for the binutils project.
Re: RFC: Speeding up libstdc++.so with --dynamic-list-data
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 08 Jan 2007 20:09:59 -0800
- Subject: Re: RFC: Speeding up libstdc++.so with --dynamic-list-data
- References: <20070109022553.GB14047@lucon.org>
On Mon, 2007-01-08 at 18:25 -0800, H. J. Lu wrote:
> I am enclosing a patch to implement a new linker swicth,
> --dynamic-list-data. It is -Bsymbolic for function symbols only.
> I tried it with C, C++, Java and Fortran on Linux/ia32, Linux/x86-64
> and Linux/ia64. There are only a few regressions. The function calls
> within the new resulting DSOs will bind locally. It speeds up
> the enclosed C++ testcase by
> 1. 23% on ia64.
> 2. 6% on ia32.
> 3. 3% on x86-64.
> Should we consider such optimization?
The real question is, does this work with operator new?
In that if I a C++ developer provides a seperate operator new (and
delete), does libstdc++ use that one as required by the C++ standard?