card dealer

Denis McMahon denismfmcmahon at gmail.com
Fri Sep 27 12:10:47 EDT 2013


On Fri, 27 Sep 2013 12:08:33 +0000, Dave Angel wrote:

> i recall
> writing a shuffle function in C decades ago, which took an array of (52)
> unique items and put them in random order.

Whenever I tried to write shuffles I came up against a fairly fundamental 
limit:

52! > prng states

Granted prngs seem to be better on the importing entropy from elsewhere 
front these days.

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list