Message390769
FWIW, I've only looked at the lru_cache() code. Someone should go through all the PyModule_GetState calls to see if they are on a critical path. AFAICT a huge number of these changes were applied without regard to whether or not they occurred on an existing fast path.
This is a considerable number of clock cycles for a type lookup that used to be almost cost free. Whether it is high or low impact greatly depends on whether the surrounding code was doing a lot of work or very little work. In thin functions, the incremental costs will be higher. |
|
Date |
User |
Action |
Args |
2021-04-11 05:08:39 | rhettinger | set | recipients:
+ rhettinger, vstinner, phsilva, petr.viktorin, serhiy.storchaka, corona10, pablogsal, miss-islington, shihai1991 |
2021-04-11 05:08:39 | rhettinger | set | messageid: <1618117719.18.0.473869674983.issue40137@roundup.psfhosted.org> |
2021-04-11 05:08:39 | rhettinger | link | issue40137 messages |
2021-04-11 05:08:38 | rhettinger | create | |
|