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,b49d3a703a4b4db5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!news.tornevall.net!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: compiler settings in AdaGIDE Date: Sun, 25 Jul 2010 12:30:30 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <02d1f899-ad8f-493b-8f64-3791868a1bdb@q35g2000yqn.googlegroups.com> NNTP-Posting-Host: bd6ca4faab8a4e374560b5bf7faa56a8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: d9821e1c7137235bfcb219a787dfa651 X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <02d1f899-ad8f-493b-8f64-3791868a1bdb@q35g2000yqn.googlegroups.com> X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=d9821e1c7137235bfcb219a787dfa651 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news1.google.com comp.lang.ada:12561 Date: 2010-07-25T12:30:30-07:00 List-Id: On 07/25/2010 06:29 AM, Ada novice wrote: > > 1. I see that you use -gnatnp. Is this safe to do so i.e. to suppress > all checks? No, but it is a little faster. You asked about maximizing speed, not about safety. Of course, none of this is going to make a significant difference, as you found out yourself. Significant speed changes come about from improved algorithms. The correct approach is to implement correctly, clearly, and safely, then measure against your timing requirements (which are unspecified), and only make changes if the result fails to meet the timing requirements. -- Jeff Carter "I soiled my armor, I was so scared." Monty Python & the Holy Grail 71