Shuffle
Anders Bergh
anders1 at gmail.com
Sat Jan 26 10:59:49 PST 2008
On Jan 25, 2008 8:51 PM, Walter Bright <newshound1 at digitalmars.com> wrote:
> I remember reading a criticism of the shuffle/swap algorithm and the fix
> a while back, but don't remember where I read it or what the fix was.
> I'm glad Oskar has set it straight here.
>
> Although this is just a dumb program, because it's going into a
> 'cookbook' that others may use for more serious applications, the
> algorithms should be correct.
>
> Kudos to Oskar.
>
http://www.codinghorror.com/blog/archives/001015.html
Might have been that?
Anders
More information about the Digitalmars-d-announce
mailing list