math.log() benchmark of first 1 billion int using std.parallelism
    Daniel Kozak via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Mon Dec 22 02:40:44 PST 2014
    
    
  
On Monday, 22 December 2014 at 10:35:52 UTC, Daniel Kozak via 
Digitalmars-d-learn wrote:
>
>> I run Arch Linux on my PC. I compiled D programs using 
>> dmd-2.066 and used no compile arguments (dmd prog.d)
>
> You should try use some arguments -O -release -inline 
> -noboundscheck
> and maybe try use gdc or ldc should help with performance
>
> can you post your code in all languages somewhere? I like to 
> try it on
> my machine :)
Btw. try use C log function, maybe it would be faster:
import core.stdc.math;
    
    
More information about the Digitalmars-d-learn
mailing list