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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac6c4134c47b12b0 X-Google-Attributes: gid103376,public From: Tucker Taft Subject: Re: Elaboration checks Date: 2000/02/15 Message-ID: <38A98062.DE315B5B@averstar.com>#1/1 X-Deja-AN: 586180544 Content-Transfer-Encoding: 7bit References: <38A6BB10.560D973A@dowie-cs.demon.co.uk> <38A85CC1.8E5DF76@averstar.com> <88bk0i$bku$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@inmet2.burl.averstar.com X-Trace: inmet2.burl.averstar.com 950632546 6396 141.199.8.164 (15 Feb 2000 16:35:46 GMT) Organization: AverStar (formerly Intermetrics) Burlington, MA USA Mime-Version: 1.0 NNTP-Posting-Date: 15 Feb 2000 16:35:46 GMT Newsgroups: comp.lang.ada Date: 2000-02-15T16:35:46+00:00 List-Id: Robert Dewar wrote: > > In article <38A85CC1.8E5DF76@averstar.com>, > Tucker Taft wrote: > > > You should definitely talk with Rational about this. > > If you are placing the suppress pragmas properly, then there > > should be no overhead for elaboration checking. > > But that's what he reported! He said that the program got 15% > smaller once he put in the suppress pragmas, his concern is > with the overhead when the checks are NOT suppressed! Good point. I totally misread the original posting. I suppose if there is one check I feel comfortable suppressing after testing, it is Elaboration Checks, in that they generally die in every execution of the program (independent of input), or not at all. Certainly a static approach to elaboration checks is a direction we should push for Ada 200X -- perhaps just a standardized library-wide configuration pragma? -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Distributed IT Solutions (www.averstar.com/tools) AverStar (formerly Intermetrics, Inc.) Burlington, MA USA