comp.lang.ada
 help / color / mirror / Atom feed
From: P R Keeble <csuml@yahoo.codotuk>
Subject: Re: fastest data structure
Date: Thu, 12 Dec 2002 12:40:06 +0000 (UTC)
Date: 2002-12-12T12:40:06+00:00	[thread overview]
Message-ID: <Xns92E280EE9348csumlyahoocouk@217.32.252.50> (raw)
In-Reply-To: 1aUJ9.318688$NH2.22572@sccrnsc01

>   Since you seem to be focused on optimizing, I would like to quote
>   from 
> Meiler Page-Jones "The Practical Guide to Structured Systems Design"
> (an old book, but may of the principles still hold).
> 
>   Jackson gives two rules for determining when to optimize:
>     1. Don't do it.
>     2. Don't do it yet.
>   Optimize only the parts of a system worth optimizing.  One of the
>   old 
> systems
>   proverbs, the 90-10 rule, says: In a typical application, 90 percent
>   of 
> the total
>   run time is devoted to executing only 10 percent of the code.
> 
>   With the added corrolaries (I can't quote the source):
>   It's easier to optimize a working system than it is to make an
>   optimized 
> system work.
> 
> Steve
> (The Duck)
> 

And Knuth will add to that "Premature optimisation is the root of all 
evil".

Can't say I agree its the reason my mother still cooks but it's 
reasponsible for everything else!



  reply	other threads:[~2002-12-12 12:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10 21:01 fastest data structure Etienne Baudin
2002-12-10 22:12 ` Victor Porton
2002-12-11  1:14 ` Jeffrey Carter
2002-12-11  3:23 ` SteveD
2002-12-11 13:03   ` Marin David Condic
2002-12-11 15:02   ` Etienne Baudin
2002-12-11 15:11     ` Lutz Donnerhacke
2002-12-11 19:04     ` tmoran
2002-12-12  4:22     ` SteveD
2002-12-12 12:40       ` P R Keeble [this message]
2002-12-14 16:23       ` Simon Wright
2002-12-17  0:33         ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2002-12-10 21:51 Gautier direct_replies_not_read
replies disabled

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