bpo-46841: Move the cache for `LOAD_GLOBAL` inline. by markshannon · Pull Request #31575 · python/cpython · GitHub

github.com

Tin mới

faster-cpython:inline-cache-load-globals

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

Experiment: Make 'inline' cache for LOAD_GLOBAL actually inline.

Emit cache entry space in assembler.

Merge main and fix duplication of _PyOpcode_InlineCacheEntries table.

Use native endianness for 32 bit cache entries.

Remove unused code.

awaiting core review

awaiting core review

🔨 test-with-buildbots

🔨 test-with-buildbots

Restore specialization of LOAD_GLOBAL.

Turn off test_dis test output generation.

Merge branch 'main' into inline-cache-load-globals

View reviewed changes

Learn more about hiding disruptive comments

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

Clean up messy merge.

Address review comments.

Bump version number.

Merge branch 'main' into inline-cache-load-globals

View reviewed changes

Inline caching faster-cpython/ideas#310

Inline bytecode caches #90997