Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace mersenne twister by pcg #99

Open
rurban opened this issue Nov 22, 2015 · 0 comments
Open

replace mersenne twister by pcg #99

rurban opened this issue Nov 22, 2015 · 0 comments
Assignees
Milestone

Comments

@rurban
Copy link
Member

rurban commented Nov 22, 2015

http://www.pcg-random.org/
See branch pcg

First without inlining 6% slower, now with inlining regained the 6% (5a39798)
pcg quality is better, but only 64bit.

http://xoroshiro.di.unimi.it/xoroshiro128plus.c is broken.

@rurban rurban self-assigned this Nov 22, 2015
@rurban rurban added this to the 0.4 milestone Nov 22, 2015
rurban pushed a commit that referenced this issue Nov 22, 2015
and added bounds argument for rand and num rand.
See GH #99
rurban pushed a commit that referenced this issue Nov 22, 2015
and added bounds argument for rand and num rand.
See GH #99
rurban pushed a commit that referenced this issue Nov 22, 2015
and added bounds argument for rand and num rand.
See GH #99

But it is 6.8% slower than mt:
3m11.529s vs 2m58.521s for binarytrees.pn
rurban pushed a commit that referenced this issue Jan 14, 2016
and added bounds argument for rand and num rand.
See GH #99

But it is 6.8% slower than mt:
3m11.529s vs 2m58.521s for binarytrees.pn
rurban pushed a commit that referenced this issue Dec 2, 2019
and added bounds argument for rand and num rand.
See GH #99

But it is 6.8% slower than mt:
3m11.529s vs 2m58.521s for binarytrees.pn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant