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-02 02:07:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <3c08314d$0$158$9b622d9e@news.freenet.de> <9uau3a$79113$1@ID-25716.news.dfncis.de> <3c093895$0$160$9b622d9e@news.freenet.de> Subject: Re: What is faster Ada or C? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: NNTP-Posting-Host: 2LmO7-372140-KY6-606@rwcrnsc53 X-Complaints-To: abuse@worldnet.att.net X-Trace: rwcrnsc53 1007287666 2LmO7-372140-KY6-606@rwcrnsc53 (Sun, 02 Dec 2001 10:07:46 GMT) NNTP-Posting-Date: Sun, 02 Dec 2001 10:07:46 GMT Organization: AT&T Worldnet Date: Sun, 02 Dec 2001 10:07:46 GMT Xref: archiver1.google.com comp.lang.ada:17295 Date: 2001-12-02T10:07:46+00:00 List-Id: "Heiko Hamann" wrote in message news:3c093895$0$160$9b622d9e@news.freenet.de... > I thank you very much. I never thought that might make such a great > difference. I guess I will never use standard options of compilers any more > in future :-) But don't "throw the baby out with the bath water" :-) The run-time checks are valuable, and a habit of compiling everything with checks suppressed may result in a lot of needless time spent debugging. I'd recommend using pragma Suppress in the source code (or as a configuration pragma), in only the performance-intensive parts of your program. 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. Cheers, Mark Lundquist