[erlang-patches] Fisher-Yates lists shuffle bif

t ty tty.erlang@REDACTED
Tue Jun 12 05:03:54 CEST 2007


Added a new bif to lists module for a Fisher-Yates shuffle taken from
Knuth's The Art of Computer Programming v2.

The seed to random(3) is initialize in beam_emu.c although there might
be a better place for it.

t
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-Fisher-Yates-Knuth-fair-shuffle-to-lists-modul.patch
Type: text/x-patch
Size: 2871 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20070611/7d541bb4/attachment.bin>


More information about the erlang-patches mailing list