python / python/cpython

Improve performance of pidigits and int arithmetic

オープン
#157,742 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

performance type-feature
主要言語
Python
スター
77.2k
フォーク
35.9k
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。