JuliaPy / JuliaPy/PythonCall.jl
Fast versions of C functions
- 主要言語
- Julia
- スター
- 1.1k
- フォーク
- 86
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
The issue names Py_IncRef_Fast, Py_DecRef_Fast, and PyObject_IsInstance_Fast but gives no file or test paths. Start by locating the existing wrappers or call sites for these C functions, then compare their behavior with the proposed common-case fast paths. Done means the optimized paths preserve existing semantics and handle the stated fast cases.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, julia, python
- 領域
- performance
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100