rand
rand copied to clipboard
Think about adding Pick2
#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 it will only be marginally better than a straightforward loop-based implementation?