![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: sorting very large text filesby Ea (Chaplain) |
on Dec 21, 2009 at 09:47 UTC ( [id://813675]=note: print w/replies, xml ) | Need Help?? |
As salva just said, I'd be tempted to change the way you access the data. Naively (because this is not my bread and butter), I'd either create an index file of field -> file+line number and sort on that or pre-sort them into similar files so that there's less work to do. Not that these are particularly brilliant ideas, but I'm just trying to illustrate the point that there's more than one way to crack this nut and to look in different directions. best of luck,
perl -e 'print qq(Just another Perl Hacker\n)' # where's the irony switch?
In Section
Seekers of Perl Wisdom
|
|