This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients chatgris, gvanrossum, python-dev, vstinner, yselivanov
Date 2014-09-30.13:49:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412084982.03.0.545557875135.issue22448@psf.upfronthosting.co.za>
In-reply-to
Content
Victor,

During the code review we tried the single loop approach. At the end Joshua wrote a small benchmark to test if it's really faster to do it in one loop or not. Turned out that single loop approach is not faster than loop+comprehension (but it's not much slower either, I'd say they are about the same in terms of speed).

One loop approach might work faster on PyPy, but unfortunately, they still don't support 3.3 to test.
History
Date User Action Args
2014-09-30 13:49:42yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, python-dev, chatgris
2014-09-30 13:49:42yselivanovsetmessageid: <1412084982.03.0.545557875135.issue22448@psf.upfronthosting.co.za>
2014-09-30 13:49:42yselivanovlinkissue22448 messages
2014-09-30 13:49:41yselivanovcreate