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

Remove references to math/rand package's Read function. #11039

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 14, 2024

Remove references to math/rand package's Read function.

The helper function is deprecated. The package gvisor.dev/gvisor/pkg/rand depends on crypto/rand which performs worse thatn math/rand, the changes are fine since they are not at any gVisor's hot path.

The ultimate goal is to migrate math/rand to math/rand/v2.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11030 from milantracy:rand 7cc1722

@copybara-service copybara-service bot added the exported Issue was exported automatically label Oct 14, 2024
@copybara-service copybara-service bot force-pushed the test/cl685864305 branch 3 times, most recently from 9ceab07 to 4901174 Compare October 15, 2024 19:28
The helper function is deprecated. The package gvisor.dev/gvisor/pkg/rand
depends on crypto/rand which performs worse thatn math/rand, the changes
are fine since they are not at any gVisor's hot path.

The ultimate goal is to migrate math/rand to math/rand/v2.
@copybara-service copybara-service bot force-pushed the test/cl685864305 branch 12 times, most recently from e7d029f to 5cc8949 Compare October 21, 2024 21:39
PiperOrigin-RevId: 688287238
@copybara-service copybara-service bot merged commit 0f30a4a into master Oct 21, 2024
@copybara-service copybara-service bot deleted the test/cl685864305 branch October 21, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants