Message407952
Serhiy: Do you recall the idea of the PyUnicode_CHECK_INTERNED() optimization?
The PyUnicode_CHECK_INTERNED() test is as old as the _PyUnicode_EqualToASCIIId() function.
commit f5894dd646f5e39918377b37b8c8694cebdca103
Author: Serhiy Storchaka <[email protected]>
Date: Wed Nov 16 15:40:39 2016 +0200
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang. |
|
| Date |
User |
Action |
Args |
| 2021-12-07 17:21:43 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, corona10, erlendaasland |
| 2021-12-07 17:21:43 | vstinner | set | messageid: <[email protected]> |
| 2021-12-07 17:21:43 | vstinner | link | issue46006 messages |
| 2021-12-07 17:21:43 | vstinner | create | |
|