Re: Script Optimization file parsing script

2006-07-12 Thread Dr.Ruud
"Nagrale, Ajay" schreef: > I am working on optimization of one of the file parsing script. There > are around 4,50,000 lines present in the input file. This file size > is bound to increase in coming days. New entries would be added every > 2 minutes. > > Current script is taking around 60 seconds

Re: Script Optimization file parsing script

2006-07-12 Thread Mr. Shawn H. Corey
Nagrale, Ajay wrote: > The flow in the script is something like this: > > 1. Open the input file handle using the open function > 2. In while loop parse the entries (using the file handle > directly in while), parse the input entries. Do the sanity > check required (sanity check involved is a combi