06.05.20 00:46, Victor Stinner пише:
Subinterpreters and multiprocessing have basically the same speed on this benchmark.
It does not look like there are some advantages of subinterpreters against multiprocessing.
I am wondering how much 3.9 will be slower than 3.8 in single-thread single-interpreter mode after getting rid of all process-wide singletons and caches (Py_None, Py_True, Py_NonImplemented. small integers, strings, tuples, _Py_IDENTIFIER, _PyArg_Parser, etc). Not mentioning breaking binary compatibility.
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/Y3NU7O5NBTIRMYU7V4IIOVV4OGN2VT3W/ Code of Conduct: http://python.org/psf/codeofconduct/