|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^2: Sort Hash of Hash numericallyby duelafn (Priest) |
| on Jun 13, 2011 at 14:33 UTC ( #909390=note: print w/ replies, xml ) | Need Help?? |
|
Is reverse sort optimized away (it would be cool if it swapped the meaning of $a and $b) or do you really mean:
Update: toolic++. I went searching for the definition of "newer perls" and found that this optimization has been around for some time. From perl586delta: reverse sort ... is now optimized to sort in reverse, avoiding the generation of a temporary intermediate list. for (reverse @foo) now iterates in reverse, avoiding the generation of a temporary reversed list. Good Day,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||