diff options
author | Mark Shannon <mark@hotpy.org> | 2022-11-07 14:49:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 14:49:51 (GMT) |
commit | 4a1c58d504a49eeb9be7beef3ca861a9d6b28ede (patch) | |
tree | 8c5245a6a3a19a311d0d5a31723da1225a2c6795 /Misc | |
parent | 80c08d1cd67afdd1336c65ba23a044b6ac490f33 (diff) | |
download | cpython-4a1c58d504a49eeb9be7beef3ca861a9d6b28ede.zip cpython-4a1c58d504a49eeb9be7beef3ca861a9d6b28ede.tar.gz cpython-4a1c58d504a49eeb9be7beef3ca861a9d6b28ede.tar.bz2 |
GH-96793: Specialize FOR_ITER for generators. (GH-98772)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst new file mode 100644 index 0000000..1545b98 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst @@ -0,0 +1,3 @@ +Add specialization of :opcode:`FOR_ITER` for generators. Saves multiple +layers of dispatch and checking to get from the :opcode:`FOR_ITER` +instruction in the caller to the :opcode:`RESUME` in the generator. |