From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: fastest data structure
Date: Mon, 16 Dec 2002 18:33:49 -0600
Date: 2002-12-16T18:33:49-06:00 [thread overview]
Message-ID: <uvssf7aksl1r05@corp.supernews.com> (raw)
In-Reply-To: x7v65tw36z4.fsf@smaug.pushface.org
Simon Wright wrote in message ...
>"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.
Unless your compiler uses code-shared generics. (Plug for Janus/Ada. :-)
Of course, then you have the distributed overhead of generic sharing.
(I'm afraid that there still is no free lunch.)
Randy Brukardt.
next prev parent reply other threads:[~2002-12-17 0:33 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
2002-12-17 0:33 ` Randy Brukardt [this message]
-- 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