in reply to Re: mem usage
in thread mem usage
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 Section
Seekers of Perl Wisdom
in reply to Re: mem usage
in thread mem usage
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?