python / python/cpython

Optimize calling type slots

Open
#74,694 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.12 interpreter-core performance
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 30509
Nosy @terryjreedy, @pitrou, @vstinner, @serhiy-storchaka
PRs
  • python/cpython#1861
  • python/cpython#1883
  • Files
  • type-slot-calls.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2017-05-30.05:56:40.654>
    labels = ['interpreter-core', '3.8', 'performance']
    title = 'Optimize calling type slots'
    updated_at = <Date 2019-05-17.22:24:57.943>
    user = 'https://github.com/serhiy-storchaka'
    

    bugs.python.org fields:

    activity = <Date 2019-05-17.22:24:57.943>
    actor = 'cheryl.sabella'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2017-05-30.05:56:40.654>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['46913']
    hgrepos = []
    issue_num = 30509
    keywords = ['patch']
    message_count = 17.0
    messages = ['294739', '294740', '294742', '294749', '294750', '294757', '294762', '294763', '294817', '294839', '294843', '294848', '294905', '295062', '295953', '295963', '295984']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'pitrou', 'vstinner', 'serhiy.storchaka']
    pr_nums = ['1861', '1883']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue30509'
    versions = ['Python 3.8']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    The migrated issue points to type-slot-calls.diff and the historical pull requests python/cpython#1861 and #1883; start by reviewing those artifacts and the interpreter-core code they reference. Confirm whether the optimization is still needed and whether the existing proposals cover it before attempting work; done would require an accepted implementation with performance validation.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    compilers, performance
    Issue type
    Refactor
    Difficulty
    5/5
    Estimated time
    Over a week
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.