No such thing as a small change | |
PerlMonks |
Re^4: Fastest way to "pick without replacement"by haukex (Archbishop) |
on Nov 22, 2020 at 13:08 UTC ( [id://11124019]=note: print w/replies, xml ) | Need Help?? |
Anyway in my experience you are doing micro-optimization here This was mostly to satisfy my curiosity and perhaps provide an interesting challenge, I'm not really optimizing anything - I always had a gut feeling that splice might be kind of slow (and it probably still is on very large arrays), so it's nice to see that in this test it's actually quite the opposite.
In Section
Seekers of Perl Wisdom
|
|