comp.lang.ada
 help / color / mirror / Atom feed
From: Michael & Amy Hartsough <Hartsough@worldnet.att.net>
Subject: Re: 'others' - inefficient esp. DEC Ada? [1/1]
Date: 1997/10/12
Date: 1997-10-12T00:00:00+00:00	[thread overview]
Message-ID: <61s3mk$onb@bgtnsc01.worldnet.att.net> (raw)
In-Reply-To: 344168c5.21239761@SantaClara01.news.InterNex.Net


Tom Moran wrote:

>   It certainly would be nice if each compiler came with a crib sheet
> showing what it does especially well or poorly, instead of each
> programmer having to discover for himself (usually painfully).

Yes, one Ada compiler I've used generated 30-40 instructions at
the beginning of every case statement (my guess was this was to
create a "jump table"). So we examined all case statements in the
program and converted those with only two or three selectors to
if statements.

	Michael




  reply	other threads:[~1997-10-12  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-12  0:00 'others' - inefficient esp. DEC Ada? [1/1] Rob Kirkbride
1997-10-13  0:00 ` Tom Moran
1997-10-12  0:00   ` Michael & Amy Hartsough [this message]
1997-10-13  0:00   ` Rob Kirkbride
1997-10-14  0:00 ` Jeff Creem
1997-10-15  0:00 ` Matthew Heaney
replies disabled

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