bpo-41323: Perform 'peephole' optimizations directly on the CFG. by markshannon · Pull Request #21517 · python/cpython · GitHub

github.com

Tin mới

markshannon:move-peephole-optimizations-to-cfg

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Move 'peephole' optimizations into compile.c and perform them directl…

awaiting core review

awaiting core review

Regenerate frozen importlib.

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out code.

View reviewed changes

🔨 test-with-buildbots

🔨 test-with-buildbots

Two minor code tidy ups.

View reviewed changes

Fix leak in mark_reachable.

View reviewed changes

Treat jumps to empty blocks as jumps to the following block.

Regenerate importlib

View reviewed changes

bpo-41323: Perform 'peephole' optimizations directly on the CFG. (

bpo-41323: Perform 'peephole' optimizations directly on the CFG. (

bpo-41323: Perform 'peephole' optimizations directly on the CFG. (

Use :cpy-file: throughout the Devguide python/devguide#984

Fix links to missing CPython files python/devguide#1003

Fix remaining broken links. python/devguide#1013