Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Removing redundant powersets with minimal RAMby samtregar (Abbot) |
on Nov 03, 2006 at 17:50 UTC ( [id://582128]=note: print w/replies, xml ) | Need Help?? |
Not to ruin all your fun, but have you considered just writing out the dups and piping your output through 'sort -u'? The 'sort' implementation on my system is very memory efficient and reasonably fast.
-sam
In Section
Seekers of Perl Wisdom
|
|