Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168) | Mark Shannon | 2022-06-27 | 1 | -1/+2 |
| | |||||
* | GH-93841: Allow stats to be turned on and off, cleared and dumped at ↵ | Mark Shannon | 2022-06-21 | 1 | -5/+19 |
| | | | | runtime. (GH-93843) | ||||
* | GH-91432: Specialize FOR_ITER (GH-91713) | Dennis Sweeney | 2022-06-21 | 1 | -0/+31 |
| | | | | | * Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations. * Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints. | ||||
* | gh-94021: Address unreachable code warning in specialize code (GH-94022) | Christian Heimes | 2022-06-21 | 1 | -1/+2 |
| | |||||
* | gh-93911: Specialize `LOAD_ATTR_PROPERTY` (GH-93912) | Ken Jin | 2022-06-17 | 1 | -6/+43 |
| | |||||
* | Fix BINARY_SUBSCR_GETITEM stats (GH-93903) | Ken Jin | 2022-06-16 | 1 | -1/+2 |
| | |||||
* | Rename 'LOAD_METHOD' specialization stat consts to 'ATTR'. (GH-93812) | Mark Shannon | 2022-06-14 | 1 | -17/+14 |
| | |||||
* | Remove LOAD_METHOD stats. (GH-93807) | Mark Shannon | 2022-06-14 | 1 | -1/+0 |
| | |||||
* | GH-93429: Merge `LOAD_METHOD` back into `LOAD_ATTR` (GH-93430) | Ken Jin | 2022-06-14 | 1 | -81/+55 |
| | |||||
* | Add more FOR_ITER specialization stats (GH-32151) | Dennis Sweeney | 2022-06-13 | 1 | -2/+26 |
| | |||||
* | Shrink the LOAD_METHOD cache by one codeunit. (#93537) | Mark Shannon | 2022-06-07 | 1 | -6/+3 |
| | |||||
* | GH-93354: Use exponential backoff to avoid excessive specialization ↵ | Mark Shannon | 2022-05-31 | 1 | -22/+21 |
| | | | | attempts. (GH-93355) | ||||
* | GH-90230: Add stats to breakdown the origin of calls to `PyEval_EvalFrame` ↵ | Mark Shannon | 2022-05-27 | 1 | -1/+4 |
| | | | | (GH-93284) | ||||
* | gh-92777: Add LOAD_METHOD_LAZY_DICT (GH-92778) | Ken Jin | 2022-05-25 | 1 | -6/+15 |
| | |||||
* | GH-90690: Remove `PRECALL` instruction (GH-92925) | Mark Shannon | 2022-05-19 | 1 | -78/+58 |
| | |||||
* | Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919) | Mark Shannon | 2022-05-18 | 1 | -0/+2 |
| | |||||
* | Improve object stats (#92845) | Mark Shannon | 2022-05-16 | 1 | -0/+2 |
| | | | | | * Add incref/decref stats * Show ratios for allocation in summary | ||||
* | GH-92239: Make sure that PEP 523 is supported, even when specializing first. ↵ | Mark Shannon | 2022-05-04 | 1 | -0/+6 |
| | | | | (GH-92245) | ||||
* | Add more stats for freelist use and allocations. (GH-92211) | Mark Shannon | 2022-05-03 | 1 | -0/+5 |
| | |||||
* | gh-91719: Add pycore_opcode.h internal header file (#91906) | Victor Stinner | 2022-04-25 | 1 | -1/+1 |
| | | | | | | | | | | | Move the following API from Include/opcode.h (public C API) to a new Include/internal/pycore_opcode.h header file (internal C API): * EXTRA_CASES * _PyOpcode_Caches * _PyOpcode_Deopt * _PyOpcode_Jump * _PyOpcode_OpName * _PyOpcode_RelativeJump | ||||
* | bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) | Irit Katriel | 2022-04-11 | 1 | -3/+11 |
| | |||||
* | bpo-47009: Let PRECALL_NO_KW_LIST_APPEND do its own POP_TOP (GH-32239) | Dennis Sweeney | 2022-04-05 | 1 | -1/+4 |
| | |||||
* | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | 2022-03-31 | 1 | -2/+2 |
| | | | | (GH-32115) | ||||
* | Merge deoptimization blocks in interpreter (GH-32155) | Mark Shannon | 2022-03-30 | 1 | -3/+3 |
| | |||||
* | bpo-47127: Specialize calls for fastcall c methods with keywords (GH-32125) | Kumar Aditya | 2022-03-27 | 1 | -0/+4 |
| | | | | * add PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS | ||||
* | bpo-47053: Reduce deoptimization in BINARY_OP_INPLACE_ADD_UNICODE (GH-31318) | Dennis Sweeney | 2022-03-25 | 1 | -2/+4 |
| | | | | | * Don't deopt if refcounts are too big * Detect more at specialization time | ||||
* | bpo-46841: Quicken code in-place (GH-31888) | Brandt Bucher | 2022-03-21 | 1 | -83/+17 |
| | | | | | | | | | | | | | | | | | | | * Moves the bytecode to the end of the corresponding PyCodeObject, and quickens it in-place. * Removes the almost-always-unused co_varnames, co_freevars, and co_cellvars member caches * _PyOpcode_Deopt is a new mapping from all opcodes to their un-quickened forms. * _PyOpcode_InlineCacheEntries is renamed to _PyOpcode_Caches * _Py_IncrementCountAndMaybeQuicken is renamed to _PyCode_Warmup * _Py_Quicken is renamed to _PyCode_Quicken * _co_quickened is renamed to _co_code_adaptive (and is now a read-only memoryview). * Do not emit unused nonzero opargs anymore in the compiler. | ||||
* | bpo-46841: Add a _Py_SET_OPCODE macro (GH-31780) | Brandt Bucher | 2022-03-12 | 1 | -80/+65 |
| | |||||
* | bpo-46841: Don't use an oparg counter for `STORE_SUBSCR` (GH-31742) | Brandt Bucher | 2022-03-08 | 1 | -7/+7 |
| | |||||
* | bpo-46841: Use inline caching for calls (GH-31709) | Brandt Bucher | 2022-03-07 | 1 | -194/+69 |
| | |||||
* | Remove trailing spaces (GH-31695) | Serhiy Storchaka | 2022-03-05 | 1 | -1/+1 |
| | |||||
* | bpo-46841: Fix BINARY_OP's handling of inline caches (GH-31671) | Brandt Bucher | 2022-03-04 | 1 | -1/+2 |
| | |||||
* | bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658) | Mark Shannon | 2022-03-04 | 1 | -0/+1 |
| | |||||
* | bpo-46841: Use inline caching for attribute accesses (GH-31640) | Brandt Bucher | 2022-03-03 | 1 | -64/+56 |
| | |||||
* | bpo-46841: Improve the failure stats for COMPARE_OP (GH-31663) | Brandt Bucher | 2022-03-03 | 1 | -0/+5 |
| | |||||
* | Move check for str-only keys in LOAD_GLOBAL specializations to ↵ | Mark Shannon | 2022-03-03 | 1 | -0/+8 |
| | | | | specialization time. (GH-31659) | ||||
* | bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) | Mark Shannon | 2022-03-01 | 1 | -11/+19 |
| | |||||
* | bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622) | Brandt Bucher | 2022-03-01 | 1 | -18/+18 |
| | |||||
* | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | 2022-02-28 | 1 | -12/+16 |
| | |||||
* | bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591) | Brandt Bucher | 2022-02-28 | 1 | -12/+11 |
| | |||||
* | bpo-45316: Move private functions to internal C API (GH-31579) | Victor Stinner | 2022-02-25 | 1 | -1/+2 |
| | | | | | | | | | Move the unexported private functions to the internal C API: * pycore_frame.h: _PyFrame_New_NoTrack() * pycore_function.h: _PyFunction_GetVersionForCurrentState() * pycore_genobject.h: _PyAsyncGenValueWrapperNew() * pycore_genobject.h: _PyCoro_GetAwaitableIter() * pycore_genobject.h: _PyGen_yf() | ||||
* | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | Brandt Bucher | 2022-02-25 | 1 | -44/+43 |
| | |||||
* | bpo-45107: Specialize `LOAD_METHOD` for instances with dict. (GH-31531) | Mark Shannon | 2022-02-24 | 1 | -13/+53 |
| | |||||
* | bpo-46823: Implement LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE superinstruction ↵ | Dennis Sweeney | 2022-02-24 | 1 | -0/+10 |
| | | | | (GH-31484) | ||||
* | bpo-44337: Shrink the LOAD_ATTR/STORE_ATTR caches (GH-31517) | Brandt Bucher | 2022-02-23 | 1 | -19/+17 |
| | |||||
* | bpo-45885: Don't un-adapt `COMPARE_OP` when collecting stats (GH-31516) | Brandt Bucher | 2022-02-23 | 1 | -2/+8 |
| | |||||
* | bpo-46329: Fix test failure when `Py_STATS` is enabled (GH-31511) | Brandt Bucher | 2022-02-23 | 1 | -2/+1 |
| | |||||
* | Move call specializations from CALL to PRECALL. (GH-31496) | Mark Shannon | 2022-02-22 | 1 | -32/+72 |
| | |||||
* | bpo-46329: Change calling sequence (again) (GH-31373) | Mark Shannon | 2022-02-18 | 1 | -3/+2 |
| | | | | * Change calling sequence: Add PUSH_NULL. Merge PRECALL_FUNCTION and PRECALL_METHOD into PRECALL. | ||||
* | bpo-46072: Add detailed failure stats for BINARY_OP (GH-31289) | Brandt Bucher | 2022-02-16 | 1 | -12/+103 |
| |