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: a07f3367d7,3a6a9f1d654285ba X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 21 Aug 2009 00:15:41 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Shootout program for K-Nucleotide (patches) References: <4a743343$0$32674$9b4e6d93@newsspool2.arcor-online.net> <4bc4b12d-40f8-4140-8ef6-326d9e6b8adf@k30g2000yqf.googlegroups.com> <4a897b61$0$30221$9b4e6d93@newsspool1.arcor-online.net> <4d48b846-bb2d-4126-86c2-487b2244c9ad@d4g2000yqa.googlegroups.com> <4a8c119d$0$31866$9b4e6d93@newsspool3.arcor-online.net> <9b7557ca-df60-4d70-b692-f077b71983eb@g10g2000yqh.googlegroups.com> <6f1c440c-9941-4aa7-a4cd-bf02a00db49a@g1g2000vbr.googlegroups.com> <4a8c8fc8$0$32678$9b4e6d93@newsspool2.arcor-online.net> <5581b105-4c1c-4772-8657-34c5bcfeb6f1@v20g2000yqm.googlegroups.com> In-Reply-To: <5581b105-4c1c-4772-8657-34c5bcfeb6f1@v20g2000yqm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a8dcb11$0$31873$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 21 Aug 2009 00:15:45 CEST NNTP-Posting-Host: 49e65668.newsspool3.arcor-online.net X-Trace: DXC=fn?BQaUO\fAC4i^e1BZ=_HMcF=Q^Z^V3H4Fo<]lROoRA^YC2XCjHcbI22U2793XV6KKQDKiQ7h jonathan wrote: > Key.Data(1 .. Length) := Buffer (I-Length+1 .. I); > > The string Key.Data already contains most of the desired > data. Since Buffer may be in slower memory, and Key.Data > in very fast memory, it makes sense to update > Key.Data from itself whenever possible: Maybe, then, it is worthwhile loading a page worth of characters from the big string for the next round of fill-up completions? If this loading doesn't happen perfectly anyway, that is. Or if we are at it, we might experiment with slice renamings or pointer artihmetic; requires a rewrite, I'd think. If the rules permit this at all ;-)