Message408202
| Author |
vstinner |
| Recipients |
corona10, eric.snow, erlendaasland, methane, ndjensen, serhiy.storchaka, vstinner |
| Date |
2021年12月10日.12:35:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1639139711.37.0.407629406007.issue46006@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Attachd cmp_interned_strings.patch fix _PyUnicode_EqualToASCIIId() and update_slot() for subinterpreters. I will create a PR once we agree if it's required to support subinterpreters there, and if there is no better (faster) option.
For update_slot(), one option to avoid adding a "slow" _PyUnicode_EQ() call would be to have per-interpreter interned strings for the slotdefs array. |
|