Hi everyone.
I’m new to Python and ran into a small problem.
I wrote a script that works fine with small files, but when the file gets bigger, everything becomes very slow. No errors, just takes a long time to finish.
Is this usually about loops or reading the file line by line?
What is the first thing I should check to make it faster?
Thanks in advance.
I’m new to Python and ran into a small problem.
I wrote a script that works fine with small files, but when the file gets bigger, everything becomes very slow. No errors, just takes a long time to finish.
Is this usually about loops or reading the file line by line?
What is the first thing I should check to make it faster?
Thanks in advance.