Kevin R wrote:
> Hello,
>
> I am having problems with the sort routine.  I am writing a script
> that parses very large firewall logs.  At one point during the script
> I end up with a very large array containing all of the destination
> udp and tcp port numbers.  This array can be up being over 100,000
> entries.  I am trying to sort with the following:
>
> @sortedPortArray = sort(@portArray);
>
> It works, but I could crawl up under my desk and take a nap before it
> will finish.  Is there a faster way to sort?  Thank you in advance
> for your help.

Perhaps the answer lies in not sorting the data at all :-?

If you explain the problem that you're solving with a sort, perhaps
we can suggest an alternative.

Cheers,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to