This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shihai1991
Recipients eric.snow, ncoghlan, petr.viktorin, shihai1991, vstinner
Date 2020-02-07.02:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581044363.25.0.714382126411.issue39465@roundup.psfhosted.org>
In-reply-to
Content
> The GIL avoids any risk of race condition, no?

Looks like the GIL would affect performance more or less?

>_Py_IDENTIFIER() would only be a "key" and _PyUnicode_FromId() would >store the value somewhere in a hash table stored in PyInterpreterState.

+1.

IMHO, for those two cases, the simplest idea is move IDENTIFIER to moduleState which would increase more memory usage than InterpreterState.
History
Date User Action Args
2020-02-07 02:59:23shihai1991setrecipients: + shihai1991, ncoghlan, vstinner, petr.viktorin, eric.snow
2020-02-07 02:59:23shihai1991setmessageid: <1581044363.25.0.714382126411.issue39465@roundup.psfhosted.org>
2020-02-07 02:59:23shihai1991linkissue39465 messages
2020-02-07 02:59:23shihai1991create