From: Eric Hodel Date: 2006-08-11T02:38:23+09:00 Subject: Re: Been there, done that - language shootout On Aug 10, 2006, at 9:49 AM, Caleb Clausen wrote: > 3) Therefore, Eric's statement: > >> I have to agree with Austin here. There are benchmarks inside that >> specify "this benchmark must use the implementation of the random >> number generator from benchmark X". > > is incorrect. Ruby's (admittedly poor) performance on the fasta > benchmark should not be further artifically be dragging down its > (admittedly poor) performance on the subsequent 2 benchmarks. My assertion is correct. The fasta benchmark says: > Each program should: > [...] > * generate DNA sequences, by weighted random selection from the > alphabets (using the pseudo-random number generator from the random > benchmark) And the implemenation: http://shootout.alioth.debian.org/gp4/benchmark.php? test=fasta&lang=ruby&id=0 Contains the random number generator from the random benchmark: http://shootout.alioth.debian.org/old/benchmark.php? test=random&lang=ruby&id=0 -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com