Woeful performance of D compared to C++
Bill Lear
rael at pppp.zopyra.com
Thu Jan 18 13:21:20 PST 2007
Dave <Dave_member at pathlink.com> writes:
> D's rand() is slow.
>
> //import std.random;
> extern (C) int rand();
> import std.stdio;
> import std.conv;
>[...]
Wow, what a difference!
Now D is 0.623 seconds. Huge difference. Many thanks for solving
this mystery for me.
Bill
--
Bill Lear
r * e * @ * o * y * a * c * m
* a * l * z * p * r * . * o *
More information about the Digitalmars-d
mailing list