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

Update to math/rand/v2 #7657

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Update to math/rand/v2 #7657

merged 1 commit into from
Aug 12, 2024

Conversation

aarongable
Copy link
Contributor

Replace all of Boulder's usage of the Go stdlib "math/rand" package with the newer "math/rand/v2" package which first became available in go1.22. This package has an improved API and faster performance across the board.

See https://go.dev/blog/randv2 and https://go.dev/blog/chacha8rand for details.

@aarongable aarongable requested a review from a team as a code owner August 9, 2024 19:41
@aarongable aarongable requested review from jsha and beautifulentropy and removed request for jsha August 9, 2024 19:41
@aarongable aarongable merged commit 61b484c into main Aug 12, 2024
12 checks passed
@aarongable aarongable deleted the upgrade-math-rand branch August 12, 2024 16:17
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