Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Try running some timings.  I suspect the genexp/iterator versions run more 
slowly.  The speed of the slice replacement relies on knowing the size of the 
input.

----------

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

Reply via email to