Re: performance of splice v. split

2003-03-15 Thread John W. Krahn
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: performance of splice v. split

2003-03-15 Thread SHAKARIAN,SERGE (HP-NewJersey,ex1)
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

Re: performance of splice v. split

2003-03-15 Thread Rob Dixon
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'

Re: performance of splice v. split

2003-03-14 Thread Ramprasad
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

performance of splice v. split

2003-03-14 Thread SHAKARIAN,SERGE (HP-NewJersey,ex1)
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