[pypy-issue] [issue1222] Performance issue

Alex Gaynor tracker at bugs.pypy.org
Fri Jul 20 16:34:17 CEST 2012


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

So, this is slow because you end up with tons of small loops.  If you replace 
`zip` with `itertools.izip` it gets way faster (on CPython as well, but not by as 
much).  Changing it to http://bpaste.net/show/uiOOJr5SrPSIX80PtyI7/ gives you 
another 2x speedup.  It's a giant hack though, I'm still trying to figure out 
if/how we can improve

----------
nosy: +agaynor
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1222>
________________________________________


More information about the pypy-issue mailing list