JuliaPy / JuliaPy/PythonCall.jl
Fast versions of C functions
未關閉
- 主要語言
- Julia
- 星號
- 1.1k
- 分支
- 86
- 平均合併
- 1 天 22 小時
- 30 天內合併 PR
- 3
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。