Perl Monk, Perl Meditation | |
PerlMonks |
Re^8: Curious find while comparing grep, map, and smart match...by dbuckhal (Chaplain) |
on Mar 27, 2013 at 18:50 UTC ( [id://1025790]=note: print w/replies, xml ) | Need Help?? |
If my goal was to simply generate an array of unique random numbers, then you are correct and I completely understand, and appreciate, your solution. The memory cost saving ability of shuffle is definitely invaluable. But, that was not my goal. My goal was to benchmark the filtering/processing methods of grep, map, and~~ against the same data set. Can you see where I did not think your results directly related to the other results? If not, then that's fine.
In Section
Seekers of Perl Wisdom
|
|