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: a07f3367d7,3a6a9f1d654285ba X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada Shootout program for K-Nucleotide (patches) Date: Mon, 03 Aug 2009 16:29:41 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4a743343$0$32674$9b4e6d93@newsspool2.arcor-online.net> <0c18b36c-7af0-454c-8208-9b0416111a1f@w41g2000yqb.googlegroups.com> <87fxc9e0mg.fsf@nbi.dk> <4a76cd4f$0$31329$9b4e6d93@newsspool4.arcor-online.net> <87bpmxdqfo.fsf@nbi.dk> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: pcls6.std.com 1249331382 15591 192.74.137.71 (3 Aug 2009 20:29:42 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 3 Aug 2009 20:29:42 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Km23LhdxWosbkv8FgLQjPKLTxyk= Xref: g2news2.google.com comp.lang.ada:7548 Date: 2009-08-03T16:29:41-04:00 List-Id: Isaac Gouy writes: > On Aug 3, 5:36�am, Jacob Sparre Andersen wrote: >> If we interpret this as the choice of the implementer, then there is >> no problem. �If the programs have to be able to read from stdin, then >> memory mapped files aren't of much use. > > "read line-by-line a redirected FASTA format file from stdin" > > http://shootout.alioth.debian.org/u32/benchmark.php?test=knucleotide&lang=all#about What exactly does that mean? Would it be "cheating" to read all of stdin until reaching end-of-file, and then break the result up into lines (by whatever means)? What if it said "read line-by-line from a file named on the command line"? Would it then be "cheating" to mmap the file, and then break it up into lines? - Bob