Inline bytecode caches · Issue #90997 · python/cpython · GitHub

github.com

Tin mới

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

3.11only security fixes

interpreter-core(Objects, Python, Grammar, and Parser dirs)

performancePerformance or resource usage

bpo-46841: Use *inline* caching for BINARY_OP #31543

bpo-46841: Add (undocumented) _co_quickened attribute for code object. #31552

bpo-46841: Move the cache for LOAD_GLOBAL inline. #31575

bpo-46841: Use inline caching for UNPACK_SEQUENCE #31591

bpo-46841: Inline cache for BINARY_SUBSCR. #31618

bpo-46841: Use inline caching for COMPARE_OP #31622

bpo-46841: Use inline caching for attribute accesses #31640

bpo-46841: Improve the failure stats for COMPARE_OP #31663

bpo-46841: Fix error message hacks in GET_AWAITABLE #31664

bpo-46841: Fix BINARY_OP's handling of inline caches #31671

bpo-46841: Use inline caching for calls #31709

bpo-46841: Don't use an oparg counter for STORE_SUBSCR #31742

bpo-46841: Add a _Py_SET_OPCODE macro #31780

bpo-46841: Update adaptive.md for inline caching #31817

bpo-46841: Quicken code in-place #31888

bpo-46841: Don't scan backwards in bytecode. #31901

bpo-46841: Don't jump during throw() #31968

gh-90997: bpo-46841: Disassembly of quickened code #32099

bpo-46841: remove no-longer-used macro UPDATE_PREV_INSTR_OPARG #32100

bpo-46841: Use a bytes object for _co_code_adaptive #32205

bpo-46841: Avoid unnecessary allocations in code object comparisons #32222

GH-90997: Shrink the LOAD_GLOBAL caches #102569