mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-26110: Add `CALL_METHOD_KW
` opcode to speedup method calls with keywords (GH-26014)
* Add CALL_METHOD_KW * Make CALL_METHOD branchless too since it shares the same code * Place parentheses in STACK_SHRINK
This commit is contained in:
parent
e4e931a67e
commit
f24afda591
10 changed files with 247 additions and 180 deletions
2
Python/opcode_targets.h
generated
2
Python/opcode_targets.h
generated
|
@ -165,7 +165,7 @@ static void *opcode_targets[256] = {
|
|||
&&TARGET_SET_UPDATE,
|
||||
&&TARGET_DICT_MERGE,
|
||||
&&TARGET_DICT_UPDATE,
|
||||
&&_unknown_opcode,
|
||||
&&TARGET_CALL_METHOD_KW,
|
||||
&&_unknown_opcode,
|
||||
&&_unknown_opcode,
|
||||
&&_unknown_opcode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue