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

Use math/rand/v2 #88

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Use math/rand/v2 #88

merged 5 commits into from
Apr 5, 2024

Conversation

makiuchi-d
Copy link
Member

go 1.22.0 で math/rand の新しいバージョンが入ったので載せ替えました。

  • import を v2に変更
  • IntnをIntNにリネーム
  • game.Repositoryが使うrandsrcを修正
    • ChaCha8よりPCGのほうが高速
    • RandomHexを修正

@makiuchi-d makiuchi-d requested a review from methane April 5, 2024 05:34
@makiuchi-d makiuchi-d merged commit ad7f10b into main Apr 5, 2024
5 checks passed
@makiuchi-d makiuchi-d deleted the rand-v2 branch April 5, 2024 09:00
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.

None yet

2 participants