You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can avoid calling C functions in some common cases as an optimisation.
e.g. Py_IncRef_Fast can just increment the refcount.
e.g. Py_DecRef_Fast can just decrement the refcount provided it is >1.
e.g. PyObject_IsInstance_Fast can check if the type is exactly the same for a fast positive. Can use the type flags to get some fast negatives when one side is a builtin type.
The text was updated successfully, but these errors were encountered:
We can avoid calling C functions in some common cases as an optimisation.
e.g. Py_IncRef_Fast can just increment the refcount.
e.g. Py_DecRef_Fast can just decrement the refcount provided it is >1.
e.g. PyObject_IsInstance_Fast can check if the type is exactly the same for a fast positive. Can use the type flags to get some fast negatives when one side is a builtin type.
The text was updated successfully, but these errors were encountered: