Message156529
Attached patch adds the followig functions:
- _PyDict_GetItemId()
- _PyDict_SetItemId()
- _PyType_LookupId() (private)
And it uses identifiers in ceval.c and typeobject.c where it is revelant.
I expect a small speedup.
The patch does also simplify the code: use the new identifier API instead of an explicit static keyword and call to PyUnicode_InternXXX.
I can split the patch into smaller parts if you prefer. |
|
| Date |
User |
Action |
Args |
| 2012-03-22 01:08:12 | vstinner | set | recipients:
+ vstinner, loewis, pitrou |
| 2012-03-22 01:08:10 | vstinner | set | messageid: <1332378490.99.0.0291853361655.issue14383@psf.upfronthosting.co.za> |
| 2012-03-22 01:08:10 | vstinner | link | issue14383 messages |
| 2012-03-22 01:08:10 | vstinner | create | |
|