|
|
| XP is just a number | |
| PerlMonks |
Re^4: To Hash or to Array--Uniqueness is the question.by Eimi Metamorphoumai (Deacon) |
| on Dec 02, 2005 at 17:42 UTC ( #513662=note: print w/ replies, xml ) | Need Help?? |
|
No, he's using the values of the hash to store the intended order, and sorting on the values instead of the keys. The downside is that instead of just keeping the order around, we're spending time sorting to get the order back.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||