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

Uniform distribution: bias and usize portability #809

Merged
merged 6 commits into from Jun 3, 2019

Commits on Jun 3, 2019

  1. Add benchmarks for uniform usize samples

    The usize64 bench is noticably slower than the others,
    perhaps due to use of rejection sampling.
    dhardy committed Jun 3, 2019
    Copy the full SHA
    25896a7 View commit details
    Browse the repository at this point in the history
  2. Uniform distribution: correct bias (value breaking change)

    Signed extension of zone was incorrect. This method has
    near identical performance in benchmarks.
    dhardy committed Jun 3, 2019
    Copy the full SHA
    fb7bb9f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b613749 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    4a375f6 View commit details
    Browse the repository at this point in the history
  5. AliasMethod weighted index: use u32 internally

    Primarily for value stability, also slight performance boost.
    dhardy committed Jun 3, 2019
    Copy the full SHA
    ca270f3 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    0ac3766 View commit details
    Browse the repository at this point in the history