Re:Evolution of Random Number Generators
by jamespwilliams on Sunday May 02, 2021 @06:52AM
(#27014015)
If you’re using Go, you can use rand.Perm (https://golang.org/pkg/math/rand/#Perm), which uses a Fisher-Yates shuffle under the hood.
[ Parent
| on HN ]
There are no comments on this comment yet.