Parallel Rogue-like benchmark

logicchains jonathan.t.barnard at gmail.com
Fri Nov 8 18:02:07 PST 2013


Okay, I've updated it to 83. The other entries didn't include 
comments, so I didn't bother checking to remove comments from the 
linecount.

On Friday, 8 November 2013 at 13:57:31 UTC, bearophile wrote:
> Your site counts 90 SLOC for the D entry, that comes from 83 
> lines of code plus 7 comment lines. I think you shouldn't count 
> the lines of comments, from all the entries.
>
> If you want to count the comments too, then if you want I'll 
> submit a 83 lines long D version without comments for your 
> site, as in the Scala entry, for a little more fair comparison.
>
> The Scala entry has lines of code like:
>
> case (numLvls, threadNum) => {val rnd = new 
> Xorshift32(rand.nextInt); if(!silent) println(s"Thread number 
> $threadNum has seed " +  rnd.seed); numLvls -> rnd}
>
> Bye,
> bearophile



More information about the Digitalmars-d mailing list