Message407952
| Author | vstinner |
|---|---|
| Recipients | corona10, erlendaasland, serhiy.storchaka, vstinner |
| Date | 2021-12-07.17:21:43 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1638897703.15.0.976654131705.issue46006@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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 <storchaka@gmail.com> 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. |
|
| History | |||
|---|---|---|---|
| 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: <1638897703.15.0.976654131705.issue46006@roundup.psfhosted.org> |
| 2021-12-07 17:21:43 | vstinner | link | issue46006 messages |
| 2021-12-07 17:21:43 | vstinner | create | |