Improve performance of pidigits and int arithmetic
未關閉
還沒有人認領這個 Issue。
interpreter-core
performance
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
Proposal:
For obvious reasons pidigits is the most important benchmark we have for Python. We should to everything we can to improve performance, including rust (rust-for-python) or a jit (accept PEP 836).
Tagging release managers @hu g ovk@ s avann ahostrows ki to mark this a release blocker.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-157743
- gh-157744
- gh-157751
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 pyperformance/data-files/benchmarks/bm_pidigits 中的 pidigits 基準測試開始,並檢視連結的 PR gh-157743、gh-157744 和 gh-157751。閱讀提案中對 rust-for-python 和 PEP 836 的參考,以了解可能的作法;若要視為完成,將需要讓 pidigits 和整數算術有可量測的改善,但該 issue 未定義具體的實作或驗收目標。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python, rust
- 領域
- performance
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 15/100