"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
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
Hi,
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 (average) and 150 seconds (m