Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Check if sort has changed orderby hdb (Monsignor) |
on May 10, 2013 at 14:22 UTC ( [id://1032963]=note: print w/replies, xml ) | Need Help?? |
Why don't you test if the array needs sorting first? This probably takes as much time as comparing the result to the original. And you might save the sorting if not needed.
In Section
Seekers of Perl Wisdom
|
|