Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
GH-113710: Add a "globals to constants" pass
- #114592
#114592
Merged
markshannon
merged 16 commits into
python:main
python/cpython:main
from
faster-cpython:globals-to-constants
faster-cpython/cpython:globals-to-constants
Copy head branch name to clipboard
Feb 2, 2024
Conversation
Commits
16
(16)
Checks
Files changed
Merged
GH-113710: Add a "globals to constants" pass
#114592
markshannon
merged 16 commits into
python:main
python/cpython:main
from
faster-cpython:globals-to-constants
faster-cpython/cpython:globals-to-constants
Copy head branch name to clipboard
Commits
Commits on Jan 18, 2024
Change optimizer API to provide more information
markshannon
committed
3941620
View commit details
Copy full SHA for 3941620
Browse repository at this point
Add new uops for optimizing globals
markshannon
committed
665cc58
View commit details
Copy full SHA for 665cc58
Browse repository at this point
Optimize LOAD_GLOBAL specializations in tier 2
markshannon
committed
9d9bc24
View commit details
Copy full SHA for 9d9bc24
Browse repository at this point
Fix handling of call stack in trace generator
markshannon
committed
24b3533
View commit details
Copy full SHA for 24b3533
Browse repository at this point
Get globals to const pass working
markshannon
committed
35a92cc
View commit details
Copy full SHA for 35a92cc
Browse repository at this point
Minor tidying
markshannon
committed
8c699a3
View commit details
Copy full SHA for 8c699a3
Browse repository at this point
Merge branch 'main' into globals-to-constants
markshannon
committed
28dbecd
View commit details
Copy full SHA for 28dbecd
Browse repository at this point
Commits on Jan 19, 2024
Merge builtin watchers and limit re-optimizations
markshannon
committed
99e38ca
View commit details
Copy full SHA for 99e38ca
Browse repository at this point
Add braces
markshannon
committed
e0eaea9
View commit details
Copy full SHA for e0eaea9
Browse repository at this point
Use a few bits in the dict version tag to track deoptimizations
markshannon
committed
d3a2590
View commit details
Copy full SHA for d3a2590
Browse repository at this point
Commits on Feb 1, 2024
Address review comments
markshannon
committed
b3f2418
View commit details
Copy full SHA for b3f2418
Browse repository at this point
Merge branch 'main' into globals-to-constants
markshannon
authored
0798207
View commit details
Copy full SHA for 0798207
Browse repository at this point
Commits on Feb 2, 2024
Tolerate default optimizer being called
markshannon
committed
e65dcf2
View commit details
Copy full SHA for e65dcf2
Browse repository at this point
Fix compiler warning
markshannon
committed
f763e37
View commit details
Copy full SHA for f763e37
Browse repository at this point
Reduce modification limits a bit.
markshannon
committed
5bdac7a
View commit details
Copy full SHA for 5bdac7a
Browse repository at this point
Merge branch 'main' into globals-to-constants
markshannon
committed
3dc8907
View commit details
Copy full SHA for 3dc8907
Browse repository at this point
You can’t perform that action at this time.