mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-45256: Remove the usage of the C stack in Python to Python calls (GH-28488)
Ths commit inlines calls to Python functions in the eval loop and steals all the arguments in the call from the caller for performance.
This commit is contained in:
parent
ec04db74e2
commit
b4903afd4d
7 changed files with 224 additions and 64 deletions
|
@ -1,7 +1,7 @@
|
|||
# Sample script for use by test_gdb.py
|
||||
|
||||
def foo(a, b, c):
|
||||
bar(a, b, c)
|
||||
bar(a=a, b=b, c=c)
|
||||
|
||||
def bar(a, b, c):
|
||||
baz(a, b, c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue