random-pick 1.2.7

Pick an element from a slice randomly by given weights.
Documentation