Message227919
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. |
|
Date |
User |
Action |
Args |
2014-09-30 13:49:42 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, python-dev, chatgris |
2014-09-30 13:49:42 | yselivanov | set | messageid: <1412084982.03.0.545557875135.issue22448@psf.upfronthosting.co.za> |
2014-09-30 13:49:42 | yselivanov | link | issue22448 messages |
2014-09-30 13:49:41 | yselivanov | create | |
|