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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d575f572a099528 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-09 04:31:16 PST Path: archiver1.google.com!news1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: What is faster Ada or C? Date: 9 Dec 2001 04:31:15 -0800 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0112090431.5c4260f1@posting.google.com> References: <3c08314d$0$158$9b622d9e@news.freenet.de> <9uau3a$79113$1@ID-25716.news.dfncis.de> <3c093895$0$160$9b622d9e@news.freenet.de> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1007901075 26953 127.0.0.1 (9 Dec 2001 12:31:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Dec 2001 12:31:15 GMT Xref: archiver1.google.com comp.lang.ada:17636 Date: 2001-12-09T12:31:15+00:00 List-Id: "Mark Lundquist" wrote in message news:... > You also might consider using gnatprep to conditionalize > these pragmas so > that you only turn them on when doing the "production" > build of the program. I find that a bit of a junky approach. I think you will do better simply to have different build options using -gnatp for selected units if necessary for performance. This is particularly convenient if you are using the new project management facilities in GNAT Pro. P.S. Everyone surely agrees that it is a good idea to have checks on while testing, but it is not so clear that it is always better to have checks on for deployment. Remember that an unhandled exception can be a much worse disease than an incorrect non-critical result (the Ariane folks know that well).