random-pick 1.2.2

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