JuliaPy / JuliaPy/PythonCall.jl
Fast versions of C functions
Open
- Dominant language
- Julia
- Stars
- 1.1k
- Forks
- 86
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.