comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Doiel" <nospam_steved@pacifier.com>
Subject: Re: Does ObjectAda optimize at all??
Date: 1998/08/14
Date: 1998-08-14T00:00:00+00:00	[thread overview]
Message-ID: <35d4ee57.0@news.pacifier.com> (raw)
In-Reply-To: 35d4d400.23421382@SantaClara01.news.InterNex.Net


Tom Moran wrote in message
<35d4d400.23421382@SantaClara01.news.InterNex.Net>...
>>making an unreadable
>>mess of thier source code for the sake of speed.
>Someone said "Premature optimization is the root of all evil."

In "The Practical Guide to Structured Systems Design" by Meiler Page - Jones
they have a chapter on optimization.  I work by the philosophy presented
there:

It's easier to get a working system efficient than it is to get an efficient
system working.

Simplicity is a virtue that bears it's own rewards.

Optimize a system only if it fails a performance test.

Optimize only the parts of the system worth optimizing (10% of the code runs
90% of the time).


It has been my experience that making a clean system that is not heavily
optimized often reveals high level changes that lead to greater gains than
low level optimizations.  BTW: I am one of those programmers who has had to
go in and try to get a system running that was too heavily optimized.  I've
even seen heavily optimized code that is only run once at boot time on a
system that is rarely restarted.

FWIW
SteveD







  reply	other threads:[~1998-08-14  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  0:00 Does ObjectAda optimize at all?? dennison
1998-08-06  0:00 ` Jerry van Dijk
1998-08-07  0:00   ` dennison
1998-08-07  0:00 ` Tarjei Tj�stheim Jensen
1998-08-07  0:00   ` Robert Dewar
1998-08-09  0:00 ` Dave Wood
1998-08-10  0:00   ` dennison
1998-08-14  0:00     ` Tom Moran
1998-08-14  0:00       ` dennison
1998-08-15  0:00         ` Tom Moran
1998-08-14  0:00           ` Steve Doiel [this message]
1998-08-15  0:00         ` Larry Kilgallen
1998-08-17  0:00           ` dennison
1998-08-16  0:00         ` Robert Dewar
1998-08-17  0:00           ` dennison
1998-08-16  0:00         ` Tom Moran
  -- strict thread matches above, loose matches on Subject: below --
1998-08-22  0:00 dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox