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

Commits on Jan 10, 2018

  1. Introducing a faster bounded RNG:

    $ 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 committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    be44fb9 View commit details
    Browse the repository at this point in the history