On Tue, Nov 27, 2012 at 8:00 AM, Kaspar Schiess <eule / space.ch> wrote:
>> 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.

Yes, that's what I meant, but rereading myself I explained it really badly :D

Jesus.