Raymond Hettinger added the comment:

Attaching a partial patch:
* More than doubles the speed of cycle()
* Cuts size of __reduce__ result by about a third (on average)
* Still needs work on __setstate__ for a correct restore.

----------
keywords: +patch
Added file: http://bugs.python.org/file40186/cycle5_brokensetstate.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24874>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to