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 23:26:26 PST 2014


>
> That's very different to my results.
>
> I see no important difference between ldc and dmd when using 
> std.math, but when using core.stdc.math ldc halves its time 
> where dmd only manages to get to ~80%

What CPU do you have? On my Intel Core i3 I have similar 
experience as Iov Gherman, but on my Amd FX4200 I have same 
results as you. Seems std.math.log is not good for my AMD CPU :)



More information about the Digitalmars-d-learn mailing list