Are you using the same hardware? I was looking over the instruction timings, and there's a lot of variation depending on the architecture.
--- Don Dailey <[EMAIL PROTECTED]> wrote: > 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/ > Terry McIntyre <[EMAIL PROTECTED]> Wherever is found what is called a paternal government, there is found state education. It has been discovered that the best way to insure implicit obedience is to commence tyranny in the nursery. Benjamin Disraeli, Speech in the House of Commons [June 15, 1874] _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/