python / python/cpython

Add jump table for certain safe match-case statements

Đang mở
#88,449 20 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.12 interpreter-core performance
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 44283
Nosy @rhettinger, @markshannon, @serhiy-storchaka, @corona10, @brandtbucher, @sweeneyde, @AndersMunch, @Fidget-Spinner, @Kshitiz-Arya
PRs
  • python/cpython#26697
  • Files
  • matchperf.py
  • 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 2021-06-01.21:58:12.002>
    labels = ['interpreter-core', '3.11', 'performance']
    title = 'Add jump table for certain safe match-case statements'
    updated_at = <Date 2021-06-14.17:02:35.709>
    user = 'https://github.com/sweeneyde'
    

    bugs.python.org fields:

    activity = <Date 2021-06-14.17:02:35.709>
    actor = 'brandtbucher'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-06-01.21:58:12.002>
    creator = 'Dennis Sweeney'
    dependencies = []
    files = ['50106']
    hgrepos = []
    issue_num = 44283
    keywords = ['patch']
    message_count = 20.0
    messages = ['394874', '394878', '394882', '394884', '394887', '394889', '394891', '394892', '394975', '394977', '395019', '395069', '395265', '395278', '395717', '395732', '395738', '395797', '395809', '395813']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'Mark.Shannon', 'serhiy.storchaka', 'corona10', 'brandtbucher', 'Dennis Sweeney', 'AndersMunch', 'kj', 'Kshitiz17']
    pr_nums = ['26697']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue44283'
    versions = ['Python 3.11']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Hướng nghiên cứu

    Bắt đầu bằng cách xem xét pull request hiện có python/cpython#26697 và benchmark matchperf.py được tham chiếu. Xác định những câu lệnh match-case an toàn nào nằm trong phạm vi và thay đổi jump-table cần được đánh giá như thế nào; công việc hoàn tất khi các trường hợp mục tiêu sử dụng tối ưu hóa dự kiến và hành vi hiệu năng liên quan đã được xác minh.

    Do mô hình lập chỉ mục viết ra từ nội dung của issue.

    Đánh giá

    Công nghệ
    python
    Lĩnh vực
    compilers, performance
    Loại issue
    Tính năng
    Độ khó
    5/5
    Thời gian dự kiến
    Hơn một tuần
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    20/100

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.