mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-117139: Add _PyTuple_FromStackRefSteal and use it (#121244)
Avoids the extra conversion from stack refs to PyObjects.
This commit is contained in:
parent
1ac273224a
commit
8e8d202f55
8 changed files with 28 additions and 33 deletions
|
@ -48,7 +48,7 @@ extern "C" {
|
|||
CPython refcounting operations on it!
|
||||
*/
|
||||
|
||||
typedef union {
|
||||
typedef union _PyStackRef {
|
||||
uintptr_t bits;
|
||||
} _PyStackRef;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue