Message267584
What if generate following code?
GET_ITER
JUMP_FORWARD L2
L1:
# ...
L2:
FOR_ITER L1
This saves one jump instruction per iteration.
Next, we can merge GET_ITER+JUMP_FORWARD in one FOR_BEGIN instruction for regular loops. Generators will start with JUMP_FORWARD. |
|
Date |
User |
Action |
Args |
2016-06-07 04:13:06 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, dino.viehland, Demur Rumed |
2016-06-07 04:13:06 | serhiy.storchaka | set | messageid: <1465272786.82.0.88844625099.issue27127@psf.upfronthosting.co.za> |
2016-06-07 04:13:06 | serhiy.storchaka | link | issue27127 messages |
2016-06-07 04:13:06 | serhiy.storchaka | create | |
|