From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,229a77b902096176 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-12 04:41:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!easynet-quince!easynet.net!teaser.fr!fr.clara.net!heighliner.fr.clara.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!btnet-peer!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: P R Keeble Newsgroups: comp.lang.ada Subject: Re: fastest data structure Date: Thu, 12 Dec 2002 12:40:06 +0000 (UTC) Organization: Your Company Message-ID: References: <1aUJ9.318688$NH2.22572@sccrnsc01> NNTP-Posting-Host: host217-39-54-58.in-addr.btopenworld.com X-Trace: venus.btinternet.com 1039696806 17100 217.39.54.58 (12 Dec 2002 12:40:06 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 12 Dec 2002 12:40:06 +0000 (UTC) User-Agent: Xnews/5.04.25 Xref: archiver1.google.com comp.lang.ada:31732 Date: 2002-12-12T12:40:06+00:00 List-Id: > 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!