Skip to content

Introducing a faster bounded RNG:#2

Open
lemire wants to merge 1 commit into
MichaelTJones:masterfrom
lemire:master
Open

Introducing a faster bounded RNG:#2
lemire wants to merge 1 commit into
MichaelTJones:masterfrom
lemire:master

Conversation

@lemire
Copy link
Copy Markdown

@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
Copy Markdown
Author

lemire commented Feb 27, 2018

ping

@MichaelTJones
Copy link
Copy Markdown
Owner

MichaelTJones commented Feb 27, 2018 via email

@lemire
Copy link
Copy Markdown
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