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 serhiy.storchaka
Recipients methane, serhiy.storchaka, vstinner
Date 2019-06-20.14:17:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561040255.18.0.684895435854.issue37348@roundup.psfhosted.org>
In-reply-to
Content
Most of changes are in not performance sensitive code. I do not think there is a benefit of using new macro there.

If PyUnicode_FromString() is slow I prefer to optimize it instead of adding yet one esoteric private function for internal needs.

In case of dict.__repr__() we can get even more gain by using _Py_IDENTIFIER or more general API proposed by Victor.
History
Date User Action Args
2019-06-20 14:17:35serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, methane
2019-06-20 14:17:35serhiy.storchakasetmessageid: <1561040255.18.0.684895435854.issue37348@roundup.psfhosted.org>
2019-06-20 14:17:35serhiy.storchakalinkissue37348 messages
2019-06-20 14:17:35serhiy.storchakacreate