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,FREEMAIL_FROM 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!postnews.google.com!l41g2000cwc.googlegroups.com!not-for-mail From: "Isaac Gouy" Newsgroups: comp.lang.ada Subject: Re: Ada bench : word frequency Date: 23 Mar 2005 13:26:34 -0800 Organization: http://groups.google.com Message-ID: <1111613194.164413.310450@l41g2000cwc.googlegroups.com> References: NNTP-Posting-Host: 12.65.151.243 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1111613198 7170 127.0.0.1 (23 Mar 2005 21:26:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Mar 2005 21:26:38 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: l41g2000cwc.googlegroups.com; posting-host=12.65.151.243; posting-account=7DGySgwAAADWW5O_600A0X4F7Tvs4mwJ Xref: g2news1.google.com comp.lang.ada:9834 Date: 2005-03-23T13:26:34-08:00 List-Id: Marius Amado Alves wrote: > Here's a shot at the word frequency benchmark. By my calculations, it > is as fast as the GCC C benchmark. I did not compare the output with > the reference output. A line-by-line comparison requires a criterion > for words with the same frequency, which AFAICT is not documented. "print each word and word frequency, in descending order by frequency and descending alphabetic order by word" http://shootout.alioth.debian.org/benchmark.php?test=wordfreq&lang=all&sort=fullcpu > Also, my current concept of word separator does not include punctuation > marks. Again, I could not find a reference definition. Hmmm and yet there are 20 programs accepted as correct.