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,2a34b7ad6c6a0774 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.nethere.com!news.nethere.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 11 Aug 2010 02:14:27 -0500 Newsgroups: comp.lang.ada Subject: Re: Efficiency of code generated by Ada compilers From: csampson@inetworld.net (Charles H. Sampson) Date: Wed, 11 Aug 2010 00:14:25 -0700 Message-ID: <1jn19aw.1rqtybk1cwb0mgN%csampson@inetworld.net> References: <1jmwhfp.roo31ybayx2bN%csampson@inetworld.net> <049ff595-3a53-48f3-8001-0d5cf1db0d2a@l6g2000yqb.googlegroups.com> <76de1822-f4cf-423a-8260-4b1cfac94172@f6g2000yqa.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: MacSOUP/2.8.2 (Mac OS X version 10.4.11 (PPC)) X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-wBVMePrqgv3C/qucqY950323jMyloGtqwNJhwOmRHnV5hXCmgQBJRsWEMmVvxRsYAsvlI8TpjHPLIxQ!PBHPVtFiV1OnECltrmWiqw94fbgJqTd/Er0EDSW5U+fjVvP1zTXY5+9qpxCLJJcTni2rEPiO+MiQ!J65iEQFoUAs9Cd4oWLcRCdoM86wfpdA= X-Complaints-To: abuse@nethere.com X-DMCA-Complaints-To: abuse@nethere.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news1.google.com comp.lang.ada:13105 Date: 2010-08-11T00:14:25-07:00 List-Id: Elias Salom�o Helou Neto wrote: > It is a pity that this post became a technical discussion on array > indexing. A simple question that could be asked in a single line is: > can Ada access arrays without range checking? My algorithm needs not > wrapping, neither it needs range checking! In this newsgroup, as in most others, threads tend to take on lives of their own and can drift very far from the original post if they live long enough. The nice thing about this newsgroup is that threads almost never drift into noise. According to my newsreader, you had not yet asked your above question at the time you submitted this post. I have no idea when USENET posts are timestamped, but even if they appear to be in the wrong order, these two were submitted very close together. Your implied complaint that nobody's answering your simple question is somewhat out of line. Finally, in response to that question, the answer is yes, as others have pointed out. Use pragma Suppress (Range_Check, ...) (LRM 11.5). Charlie -- All the world's a stage, and most of us are desperately unrehearsed. Sean O'Casey