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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b44a149ee4e73a99 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Runtime check : what about you ? Date: Sat, 18 Jun 2011 09:16:50 +0200 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 18 Jun 2011 07:16:52 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="2cSlI5JKRyPLa7IIKTNPYQ"; logging-data="20109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aTZDHYZbOuEBHviddx3js" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:f02FzKAqqJbbp3LIWFVPbY8cAaI= Xref: g2news2.google.com comp.lang.ada:20917 Date: 2011-06-18T09:16:50+02:00 List-Id: Le 17/06/2011 20:59, Adam Beneschan a �crit : Others have already said what I wanted to say... An addition: > And it was > certainly part of the intent of Ada's designers that developers would > develop their programs with checking turned on but then turn it off > after the program has been tested and is ready to be put into > production. Definitely not. Don't forget that a pragma, including pragma suppress, can be put in very limited scopes. The intent is that IF you have identified the innermost loop that eats up 90% of the computing time, and IF you have determined by careful measurement that a significant part of it is taken by checks, and IF your program cannot meet otherwise the performances from its requirements, THEN you can include this loop into a block statement to which a pragma suppress applies. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00