Message291642
| Author |
serhiy.storchaka |
| Recipients |
rhettinger, serhiy.storchaka, xiang.zhang |
| Date |
2017年04月14日.07:36:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1492155389.97.0.996505245009.issue30061@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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 |
|