Message346121
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. |
|
Date |
User |
Action |
Args |
2019-06-20 14:17:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, methane |
2019-06-20 14:17:35 | serhiy.storchaka | set | messageid: <1561040255.18.0.684895435854.issue37348@roundup.psfhosted.org> |
2019-06-20 14:17:35 | serhiy.storchaka | link | issue37348 messages |
2019-06-20 14:17:35 | serhiy.storchaka | create | |
|