in reply to Re^2: Fisher-Yates Shuffle
in thread Fisher-Yates Shuffle
That doesn't look right, now you're decrementing $i twice in each ROBO loop. Isn't that only doing half the work , hence taking half the time?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Fisher-Yates Shuffle
by roboticus (Chancellor) on Jun 02, 2014 at 14:20 UTC |