
May 6, 2020
8:05 p.m.
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.