Message248674
Current cycle implementation is simple and clever, but can be optimized. The part about iterating LGTM (but looks the firstpass field can be eliminated at all). But __reduce__ doesn't look so optimal. It makes a copy of a list and makes iterating an unpickled cycle object slow. It would be more optimal if create new list with rotated content or even rotate original list inplace. |
|
Date |
User |
Action |
Args |
2015-08-16 04:57:52 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, alexandre.vassalotti |
2015-08-16 04:57:52 | serhiy.storchaka | set | messageid: <1439701072.58.0.838643104972.issue24874@psf.upfronthosting.co.za> |
2015-08-16 04:57:52 | serhiy.storchaka | link | issue24874 messages |
2015-08-16 04:57:51 | serhiy.storchaka | create | |
|