That's way different that what I'm getting. Something is wrong here.
I'm getting 4.08 with RDTSC and when I just set new  to 0ull  I get 0.696

One of us must have done something wrong.
- Don


A van Kessel wrote:
I would like to mention that your generator is 64 bit and the other
That is correct.

My timings (Haven't profiled yet):
WITH TSC:
real    0m0.902s
user    0m0.870s
sys     0m0.002s

WITHOUT:
real    0m0.613s
user    0m0.582s
sys     0m0.000s

That's for 100 M random numbers.

And inlining would probably help a lot, too.

AvK
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to