more useful options | |
PerlMonks |
Re: Re: Re: List::Compareby dragonchild (Archbishop) |
on Mar 25, 2004 at 21:01 UTC ( [id://339877]=note: print w/replies, xml ) | Need Help?? |
What it sounds like you're doing is slurping all the files into memory, then dealing with them using List::Compare. I don't know what beast of a machine you're using, but I doubt most machines can do that without serious thrashing.
Much better would be to use the unix sort command. This is one of the exact reasons it was designed. It is written in very optimized C, and as such, will always beat out Perl. ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
In Section
Module Reviews
|
|