Your shuffle algorithm is not very good.
It looks like a Fisher-Yates shuffle, which is what List::Util uses. Or did you spot a bug?
In reply to Re^2: mem usage
by ikegami
in thread mem usage
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |