python / python/cpython

Optimize calling type slots

未关闭
#74,694 17 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

3.12 interpreter-core performance
主要语言
Python
星标
77.2k
派生
36k
PR 合并指标
PR 指标待抓取

描述

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']
    

    贡献指南

    打开贡献指南

    从这里开始

    1. 先读完整个 Issue,再读项目的贡献指南。
    2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
    3. Fork 仓库,在一个分支上完成修改。
    4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

    调研方向

    迁移后的 issue 指向 type-slot-calls.diff 以及历史 pull request python/cpython#1861 和 #1883;首先审查这些产物及其所引用的 interpreter-core 代码。在尝试开展工作之前,确认该优化是否仍有必要,以及现有提案是否已涵盖该优化;要视为完成,需要一个已接受的实现并进行性能验证。

    由索引模型根据 Issue 内容生成。

    评估

    技术栈
    python
    领域
    compilers, performance
    Issue 类型
    重构
    难度
    5/5
    预计耗时
    一周以上
    活跃度
    停滞
    描述清晰度
    需要澄清
    新手友好度
    20/100

    把新 issue 发到你的邮箱

    精选适合新手参与的 GitHub issue 摘要。