Skip to content

GH-134282: Simplify LOAD_CONST: Always borrow the reference - #134284

Merged
brandtbucher merged 6 commits into
python:mainfrom
faster-cpython:simplify-load-const
May 20, 2025
Merged

brandtbucher merged 6 commits into
python:mainfrom
faster-cpython:simplify-load-const

Conversation

@markshannon

@markshannon markshannon commented May 19, 2025 •

Copy link
Copy Markdown
Member

Comment thread Python/bytecodes.c
LOAD_CONST_IMMORTAL,
};

inst(LOAD_CONST, (-- value)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This diff makes me so happy.

@brandtbucher

Copy link
Copy Markdown
Member

JIT failures on Windows and macOS are unrelated.

@brandtbucher

Copy link
Copy Markdown
Member

Merging to unblock other stuff.

@brandtbucher
brandtbucher merged commit 6dcb0fd into python:main May 20, 2025
lkollar pushed a commit to lkollar/cpython that referenced this pull request May 26, 2025
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants