Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-random/rand
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.0
Choose a base ref
...
head repository: rust-random/rand
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rand_core-0.9.1
Choose a head ref
  • 14 commits
  • 69 files changed
  • 8 contributors

Commits on Jan 27, 2025

  1. Replaces the Poisson rejection method implementation (#1560)

    - [x] Added a `CHANGELOG.md` entry
    
    # Summary
    
    As discussed in #1515, this PR replaces the implementation of
    `poisson::RejectionMethod` with a new algorithm based on the [paper
    ](https://dl.acm.org/doi/10.1145/355993.355997).
    
    # Motivation
    
    The new implementation offers improved performance and maintains better
    sampling distribution, especially for extreme values of lambda (> 1e9).
    
    # Details
    
    In terms of performance, here are the benchmarks I ran, with the current
    implementation as the baseline:
    
    ```text
    poisson/100             time:   [45.5242 cycles 45.6734 cycles 45.8337 cycles]
                            change: [-86.572% -86.507% -86.438%] (p = 0.00 < 0.05)
                            Performance has improved.
    Found 5 outliers among 100 measurements (5.00%)
      2 (2.00%) low mild
      2 (2.00%) high mild
      1 (1.00%) high severe
    poisson/variable        time:   [5494.6626 cycles 5508.2882 cycles 5523.2298 cycles]
                            thrpt:  [5523.2298 cycles/100 5508.2882 cycles/100 5494.6626 cycles/100]
                     change:
                            time:   [-76.728% -76.573% -76.430%] (p = 0.00 < 0.05)
                            thrpt:  [+324.27% +326.85% +329.69%]
                            Performance has improved.
    Found 5 outliers among 100 measurements (5.00%)
      1 (1.00%) low mild
      3 (3.00%) high mild
      1 (1.00%) high severe
    ```
    JamboChen authored Jan 27, 2025
    Configuration menu
    Copy the full SHA
    e06370c View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2025

  1. Mention removal of CryptoRngCore (#1562)

    Closes #1561.
    dhardy authored Jan 28, 2025
    Configuration menu
    Copy the full SHA
    664fb3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22ba98f View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. Configuration menu
    Copy the full SHA
    b36dc2a View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2025

  1. Fix some links (#1571)

    atouchet authored Jan 30, 2025
    Configuration menu
    Copy the full SHA
    c01aee7 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2025

  1. Configuration menu
    Copy the full SHA
    bfd1826 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2025

  1. Revise "not a crypto library" policy and SECURITY.md (#1565)

    Attempt to slightly improve the wording left by #1514.
    dhardy authored Feb 6, 2025
    Configuration menu
    Copy the full SHA
    2677c49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bc3f65 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2025

  1. Configuration menu
    Copy the full SHA
    e0a70fd View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2025

  1. rename extract to extract_lane (#1586)

    - [x] Added a `CHANGELOG.md` entry
    
    # Summary
    
    Rename a function which is only used for testing because it clashes with
    `std::simd`
    
    # Motivation
    
    CI fails otherwise
    
    # Details
    benjamin-lieser authored Feb 12, 2025
    Configuration menu
    Copy the full SHA
    49d76cd View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2025

  1. Remove unnecessary underscore from `impl<T, const N: usize> Distribut…

    …ion<[T; N]> for StandardUniform` (#1585)
    
    - [ ] Added a `CHANGELOG.md` entry
    
    # Summary
    
    Remove the leading underscore from the `_rng` parameter of the `sample`
    method.
    
    # Motivation
    
    Because this parameter appears to be used. I think suppressing the
    `unused_variables` lint is unnecessary.
    sorairolake authored Feb 13, 2025
    Configuration menu
    Copy the full SHA
    06b1642 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2025

  1. Configuration menu
    Copy the full SHA
    8929123 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2025

  1. Configuration menu
    Copy the full SHA
    6a06056 View commit details
    Browse the repository at this point in the history
  2. Prepare rand_core v0.9.1 (#1591)

    # Summary
    
    Requested in #1589
    dhardy authored Feb 16, 2025
    Configuration menu
    Copy the full SHA
    ec6d5c0 View commit details
    Browse the repository at this point in the history
Loading