Dictionary max modifications threshold too low for JIT
未關閉
還沒有人認領這個 Issue。
interpreter-core
performance
topic-JIT
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
If you just run something like import time, the globals to constants promoter fails. This seems counterproductive.
We should up the max number of dictionary modifications allowed to something in the hundreds range, or whatever a big app might suggest.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先使用 import time 重現此故障,然後追蹤 globals-to-constants promoter,找出字典修改最大閾值的定義位置。確定一個合適的更高限制,並驗證對於這次匯入 promoter 不再失敗,同時現有的 JIT 測試仍然通過。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- compilers, performance
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100