Hi,
I have a script that accesses a file using Tie::File, and then loops through all 52,000 lines, analysing the data.
(The file is around 500mb in size)
However, there is a problem, my program gets gradually slower the longer it runs, and after about 2,000 lines it nearly comes to a complete standstill.
I have tried using the memory=> command that accompanies File:Tie, but even boosting it to 10000_00000_0000 doesnt stop it from slowing down.
Does anyone know the reason why?
Many thanks
S
I have a script that accesses a file using Tie::File, and then loops through all 52,000 lines, analysing the data.
(The file is around 500mb in size)
However, there is a problem, my program gets gradually slower the longer it runs, and after about 2,000 lines it nearly comes to a complete standstill.
I have tried using the memory=> command that accompanies File:Tie, but even boosting it to 10000_00000_0000 doesnt stop it from slowing down.
Does anyone know the reason why?
Many thanks
S