Skip to content

Commit 55cf943

Browse files
fix RESUME slowness
1 parent 73681af commit 55cf943

8 files changed

Lines changed: 870 additions & 825 deletions

File tree

Include/internal/pycore_code.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ PyAPI_FUNC(void) _Py_Specialize_Send(_PyStackRef receiver, _Py_CODEUNIT *instr);
326326
PyAPI_FUNC(void) _Py_Specialize_ToBool(_PyStackRef value, _Py_CODEUNIT *instr);
327327
PyAPI_FUNC(void) _Py_Specialize_ContainsOp(_PyStackRef value, _Py_CODEUNIT *instr);
328328
PyAPI_FUNC(void) _Py_GatherStats_GetIter(_PyStackRef iterable);
329+
PyAPI_FUNC(void) _Py_Specialize_Resume(_Py_CODEUNIT *instr, PyThreadState *tstate);
329330

330331
// Utility functions for reading/writing 32/64-bit values in the inline caches.
331332
// Great care should be taken to ensure that these functions remain correct and

0 commit comments

Comments
 (0)