From: Kaspar Schiess Date: 2012-11-27T16:00:27+09:00 Subject: Re: Algorithm for choosing object based on priority > This algorithm has the consequence that the biggest weight entries > appear more at the end, since each key has the same probability of > being chosen. If you want weighted appearance, you should weigth the > random choosing with the counts. Or to combine the two ideas, weight the die with the values from the hash. k