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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,213fbc70eb225c16 X-Google-Attributes: gid103376,public From: Michael & Amy Hartsough Subject: Re: 'others' - inefficient esp. DEC Ada? [1/1] Date: 1997/10/12 Message-ID: <61s3mk$onb@bgtnsc01.worldnet.att.net>#1/1 X-Deja-AN: 279962872 References: <+3g7rFB7dIQ0EwNI@RK-COMP.DEMON.CO.UK> <344168c5.21239761@SantaClara01.news.InterNex.Net> Organization: AT&T WorldNet Services Reply-To: Hartsough@worldnet.att.net Newsgroups: comp.lang.ada Date: 1997-10-12T00:00:00+00:00 List-Id: 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