Message291642
Raymond, could you please look at the change in Objects/setobject.c? It makes the code slightly faster (by avoiding few function calls: PyObject_Size(), PySequence_Size()/PyMapping_Size() and sq_length/mp_length), but the main purpose is making clear that no error check is needed after calling PyObject_Size(). I'm not going to include this change in backports.
Xiang suggests larger change that allows to gets rid of one PyDict_CheckExact(). What do you prefer? |
|
Date |
User |
Action |
Args |
2017-04-14 07:36:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, xiang.zhang |
2017-04-14 07:36:29 | serhiy.storchaka | set | messageid: <1492155389.97.0.996505245009.issue30061@psf.upfronthosting.co.za> |
2017-04-14 07:36:29 | serhiy.storchaka | link | issue30061 messages |
2017-04-14 07:36:29 | serhiy.storchaka | create | |
|