This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [C++ PATCH] Optimize __static_initialization_and_destruction_*


On 14-May-2001, Mark Mitchell <mark@codesourcery.com> wrote:
> 
> It's true that the code stinks, but it doesn't matter much -- nobody's
> inner loop is static initialization.

That's not necessarily true.
Optimizing program startup overhead is important.
Sometimes the inner loop is a script which repeatedly invokes a complicated
program to do a simple thing, in which case almost all of the time
is spent in process invocation and program startup costs.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]