Python script seems to stop running when handling very large dataset

Dieter Maurer dieter at handshake.de
Sat Oct 30 14:00:31 EDT 2021


Shaozhong SHI wrote at 2021-10-29 23:42 +0100:
>Python script works well, but seems to stop running at a certain point when
>handling very large dataset.
>
>Can anyone shed light on this?

Some algorithms have non linear runtime.


For example, it is quite easy to write code with
quadratic runtime in Python:
	  s = ""
	  for x in ...: s += f(x)
You will see the problem only for large data sets.


More information about the Python-list mailing list