Mark opened https://bugs.python.org/issue39978 "Vectorcall implementation should conform to PEP 590" where he wrote that passing tstate explicitly slows down PyObject_Vectorcall().
Victor Le lun. 16 mars 2020 à 15:16, Mark Shannon <m...@hotpy.org> a écrit : > > Hi, > > There seems to be a proliferation of `PyThreadState *tstate` arguments > being added to API and internal functions. > > These changes are listed under https://bugs.python.org/issue38644. > > I think that these changes are misguided. The desired results can be > achieved more reliably and more simply in other ways. > > The changes add bulk to the C-API and may hurt performance. > These changes are also causing a lot of churn and merge conflicts (for > me at least). > > So can we please stop making these changes, at least now? > > Changes on this scale merit a PEP and proper discussion, rather than > being added piecemeal without proper review. > > Cheers, > Mark. > _______________________________________________ > 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/KGBXVVJQZJEEZD7KDS5G3GLBGZ6XNJJX/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ 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/5L7GZ2HNF2YB5ECL6O2OGCN2HBJHEYSM/ Code of Conduct: http://python.org/psf/codeofconduct/