Improve performance of pidigits and int arithmetic
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pidigits benchmark in pyperformance/data-files/benchmarks/bm_pidigits and review linked PRs gh-157743, gh-157744, and gh-157751. Read the proposal's references to rust-for-python and PEP 836 to understand the possible approaches; done would require a measurable improvement to pidigits and integer arithmetic, but the issue does not define a concrete implementation or acceptance target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100