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,8de7eedad50552f1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 22 Mar 2005 18:16:16 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada bench : count words References: <1cssfg6rke0bv$.1ou69sudrkdgz$.dlg@40tude.net> X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 22 Mar 2005 18:16:16 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-zzjyRbTK/qzkYLxpjZ5otkSSJ02At6/wGxCCvQV9UNk6CHc/f4DPXMKW5eiQzUV6nJsgucLdmOb2ALl!OgugFmi6lt45TPHu7eptTrSiXbuG03BO+V6T7Xg4N+NqxvvE5m4xSnl7qWM+3A== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.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.32 Xref: g2news1.google.com comp.lang.ada:9769 Date: 2005-03-22T18:16:16-06:00 List-Id: >It seems (from the description) that the separators are HT, SP, LF. > ... The "same thing" FAQ says "We prefer plain vanilla programs - after all we're trying to compare language implementations not programmer effort and skill." So the "Ada version" should match the "Timing Trials" C version, which uses a block read, not the line oriented "gets". So Ada.Text_IO.Get_Line should not be used. (I grant that probably zero people paid attention to this "prefer".) When I browsed to the "input" page and cut&pasted to save the part that appeared to be the input file, the file size was 6102, whereas it's apparently supposed to be 6096. Also, if CR is not a separator, then the lines consisting of CR-LF only should count CR as a short word, no? Or is the file supposed to be Unix-style, with CRs removed?