Serge Shakarian wrote:
>
> thank you for your reply. I think I should have been a bit more descriptive
> in what I am trying to do.
>
> The log file is about 1.2 - 1.5 GB per 24 hours. Each record is look like
> this:
> Mon 10 Mar 2003 12:07:55 PM EST (1047316075.181206)
> [EMAIL PROTECTED]:<16.0
re{$script_name}{"occurence"} += 1;
$lines_processed++;
}
-Original Message-
From: Ramprasad [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 1:29 AM
To: [EMAIL PROTECTED]
Subject: Re: performance of splice v. split
Serge Shakarian wrote:
>
>
> When parsing a large log
Serge Shakarian wrote:
>
>
> When parsing a large log file which one would be better for
> performance splice or split? Every line is in a standard format and I
> would be using splice/split to get 12 out of 20 space separeted words
> in each line. Thanks in advance.
> Serge
Hello Serge.
If you'
Serge Shakarian wrote:
When parsing a large log file which one would be better for performance
splice or split? Every line is in a standard format and I would be using
splice/split to get 12 out of 20 space separeted words in each line. Thanks
in advance.
Serge
splice is used on arrays and split
When parsing a large log file which one would be better for performance
splice or split? Every line is in a standard format and I would be using
splice/split to get 12 out of 20 space separeted words in each line. Thanks
in advance.
Serge