[pypy-issue] [issue1677] itertools.product slower than nested fors

Armin Rigo tracker at bugs.pypy.org
Wed Jan 22 14:08:03 CET 2014


Armin Rigo <armin.rigo at gmail.com> added the comment:

Try again with tomorrow's build: http://buildbot.pypy.org/nightly/trunk/ .  I
hope it should be a bit faster, but I don't know how much.

Note that our goal is to ensure that itertools is not massively slower than
plain Python, but we don't really care about making it exactly as fast (or
faster) as plain Python.  As long as it's not massively slower, it's fine.  (At
least I don't agree with you about whether a) or b) is easier to read :-)

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

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


More information about the pypy-issue mailing list