This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Of Bounties and Mercenaries
- From: dewar at gnat dot com (Robert Dewar)
- To: aoliva at redhat dot com, coyote at coyotegulch dot com
- Cc: gcc at gcc dot gnu dot org, sxanth at ceid dot upatras dot gr
- Date: Sun, 4 Apr 2004 07:27:16 -0400 (EDT)
- Subject: Re: Of Bounties and Mercenaries
> I think the fallacy in the argument is a bit different. The idea is
> that, if I were to build a program that I knew thousands of users
> would run thousands of times, and having it run a bit faster would
> make a significant difference in how happy my users would be such that
> they'd be willing to pay more for the package, for support, whatever,
> it would make sense to squeeze as much performance as possible out of
> the compiler into the application. From the POV of the users of my
> application, it doesn't matter if I spend hours or days building the
> application, or even tuning the compiler to find the optimal flags to
> build it: they'll be happier the faster the thing runs.
If you have days to spend, they are probably better spent profiling
your application and analyzing its speed. if there really is an inner
loop that is eating time, optimize it by hand.