This is the mail archive of the gcc-help@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]
Other format: [Raw text]

RE: optimizing constant ifs out of loop?


-----Original Message-----
From: Eljay Love-Jensen [mailto:eljay@adobe.com] 
 
>Hi Lyle,

Hey,

> The quote is in reference to micro-optimizations in the programming
> phase  of development.

> The quote is not in the context of encouraging a disregard for good
> architecture, design and programming practices.

That may be how it was meant, but I think a lot of people don't limit
its application to that (hence my minor rant), including professors I
had at the university and people I've worked with.  What I've seen more
often than not is more the attitude "make it work; then make it work
fast", but without any other consideration for performance during the
"make it work" phase, since they think they can make it work fast
afterward.  At that point, they often end up rewriting portions of the
code to fix design issues that inherently limit performance and that
could have been foreseen had then been thinking about performance during
the design phase.

I guess we just need to be sure not to take the quote out of context...

Cheers,
Lyle


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