From: dennison@telepath.com
Subject: Re: Does ObjectAda optimize at all??
Date: 1998/08/17
Date: 1998-08-17T00:00:00+00:00 [thread overview]
Message-ID: <6r9glc$ln4$1@nnrp1.dejanews.com> (raw)
In-Reply-To: dewar.903282165@merv
In article <dewar.903282165@merv>,
dewar@merv.cs.nyu.edu (Robert Dewar) wrote:
> In my experience, programmers often do not know enough to know whether
> such manual optimizations help or hurt. They often end up not only
> trashing the code, but also making it run nmore slowly. For example,
> it takes a careful analysis of icache usage to know whether loop
> unrolling is helpful.
Exactly. I think I'm familiar enough with my own ignorance to aviod this
personally. But its awfully hard to stop other folks from doing this in their
own code when they know:
o The code in question is called several times from a high-frequency
routine o The complier is unable to do the optimization for them. o If
they manually "optimize" the code later, they are liable to accidentally
introduce new bugs (at a very late stage in development).
Thus I think it vital that developers have some knowledge of and faith in the
optimization abilities of their compiler. If a compiler doesn't do much in the
way of optimization, it clearly falls down in this respect.
T.E.D.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
next prev parent reply other threads:[~1998-08-17 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
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 [this message]
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