Message405642
Creating a new type takes microseconds, and using PyObject_TypeCheck() instead of PyType_IsSubtype() can save nanoseconds. So, while this replacement looks harmless, its effect can hardly be measured even in microbenchmarks. |
|
Date |
User |
Action |
Args |
2021-11-03 20:20:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Dennis Sweeney, kj, itamaro, arhadthedev |
2021-11-03 20:20:59 | serhiy.storchaka | set | messageid: <1635970859.45.0.742244885737.issue45697@roundup.psfhosted.org> |
2021-11-03 20:20:59 | serhiy.storchaka | link | issue45697 messages |
2021-11-03 20:20:59 | serhiy.storchaka | create | |
|