rand
rand copied to clipboard
Fast, high quality alternative to math/rand and golang.org/x/exp/rand
Results
3
rand issues
Sort by
recently updated
recently updated
newest added
#2 is about a general purpose `Sample`, but a relatively common case is `func Pick2(n int) (i int, j int)`. Is it worth adding as a separate function, given that...
enhancement
question
`Sample` was added in ce7c277b399941e9dc949893fe405610004dbcc2, however there are several problematic things: - as of go1.18, compiler can't allocate the result on the stack, even when `Sample` was inline and the...
enhancement
See [permute()](https://andrew-helmer.github.io/permute/) for an explanation of the design. Main problem is that I am not aware of simple, fast, high-quality (passing 2^42+ of PractRand) permutations of n bits, for *all*...
enhancement
help wanted