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

Introducing a faster bounded RNG: #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lemire
Copy link

@lemire lemire commented Jan 10, 2018

$ go test -bench BenchmarkBounded32
goos: darwin
goarch: amd64
pkg: github.com/lemire/pcg
BenchmarkBounded32-4 200000000 7.85 ns/op
BenchmarkBounded32Fast-4 300000000 4.79 ns/op
PASS
ok github.com/lemire/pcg 4.323s

$ go test -bench BenchmarkBounded32
goos: darwin
goarch: amd64
pkg: github.com/lemire/pcg
BenchmarkBounded32-4       	200000000	         7.85 ns/op
BenchmarkBounded32Fast-4   	300000000	         4.79 ns/op
PASS
ok  	github.com/lemire/pcg	4.323s
@lemire
Copy link
Author

lemire commented Feb 27, 2018

ping

@MichaelTJones
Copy link
Owner

MichaelTJones commented Feb 27, 2018 via email

@lemire
Copy link
Author

lemire commented May 29, 2018

Here is a formal reference:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants