summaryrefslogtreecommitdiff
path: root/test/list/filename_recursive
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-05-05 21:22:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-05-05 21:23:55 +0200
commitf0fd0413e2904e0824707d866a044341184bbe13 (patch)
tree50bef4a185e2ff13a55b4b8fd238181abf1badf6 /test/list/filename_recursive
parent68037c4d220302a9f7ab250b3a220a5f64217244 (diff)
gib_list_randomize: use code better suited for short lists (closes #151)
Note that the i == r check was never reached in the original code but may be in the new variant. Since a shuffled list may well have one or two elements retain their absolute position once in a while, this should not be a problem. tests with 2- and 3-element lists show an even distribution amongst all elements.
Diffstat (limited to 'test/list/filename_recursive')
0 files changed, 0 insertions, 0 deletions