in reply to Re: Efficiently selecting a random, weighted elementin thread Efficiently selecting a random, weighted element