On 10/03/2016 18:12, subhabangal...@gmail.com wrote:
On Wednesday, March 9, 2016 at 9:49:17 AM UTC+5:30, subhaba...@gmail.com wrote:
Thank you Steve for writing the whole code. It is working full and fine. But speed is still an issue. We need to speed up.
Which bit is too slow? (Perhaps the print statements in your original code will give a clue.)
How many rows, lines and words are we talking about (ie. how many inner loops)? How big is the text file? Is the outer function called once and that shows the problem, or many times?
It might be that the task is big enough that it actually takes that long. -- Bartc -- https://mail.python.org/mailman/listinfo/python-list