good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^6: Functional shuffleby Anonymous Monk |
on Apr 04, 2005 at 09:26 UTC ( [id://444605]=note: print w/replies, xml ) | Need Help?? |
There a large difference between the fairness of the algorithm, and fairness of any implementation with practical constraints.
A sort-based shuffle is an algorithm that is not fair. It's rotten at the root. An implementation that suffers from an inperfect random generator has fairness problems due to environmental constraits. Don't confuse the two things.
In Section
Seekers of Perl Wisdom
|
|