News for hackers. Stuff that matters.
Re:The Alias Method is an O(1) algorithm to select elements ... by andreer on Tuesday March 05, 2013 @10:20AM (#5324899)
An excellent writeup on different techniques to do this: http://www.keithschwarz.com/darts-dice-coins/

There are no comments on this comment yet.