comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: fastest data structure
Date: 14 Dec 2002 16:23:11 +0000
Date: 2002-12-14T16:23:11+00:00	[thread overview]
Message-ID: <x7v65tw36z4.fsf@smaug.pushface.org> (raw)
In-Reply-To: 1aUJ9.318688$NH2.22572@sccrnsc01

"SteveD" <nospam_steved94@attbi.com> writes:

>   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.

One problem with code generators (including compilers) is that you
tend to get distributed overhead. If you have a generic that is
instantiated in hundreds of places in your system, it's very hard to
see the inefficiencies using something like gprof.



  parent reply	other threads:[~2002-12-14 16:23 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
2002-12-14 16:23       ` Simon Wright [this message]
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