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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,587e0e0a16d65b10 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 28 Feb 2009 00:31:24 +0100 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Invade wikipedia! References: <49a6d506$0$32680$9b4e6d93@newsspool2.arcor-online.net> <4a18f335-30f6-4216-8376-0310eb560445@p11g2000yqe.googlegroups.com> <49a7ced2$0$31342$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49a877d2$0$31331$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 28 Feb 2009 00:31:32 CET NNTP-Posting-Host: 079b04f2.newsspool4.arcor-online.net X-Trace: DXC=c`d\j6\0@Z1kUFX=Y?aLP;4IUKP_O7VW]og1KQDKiQ7hSUVcB]13L><;JfT8VN1\40 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3834 Date: 2009-02-28T00:31:32+01:00 List-Id: Dmitry A. Kazakov wrote: > You do not need T'Base in this case because it is cleaner and more > efficient to rewrite it in a form that would always keep all indices within > the array range If you do this (remove the off-by-one decrement before loop termination), you end up with two exits from a loop. Algorithm guys might not find this clean at all...