random-pick 1.2.4

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