Skip to content

ceval: Optimize list[int] (subscript) operation similarly to CPython 2.7 #70468

@1st1

Description

@1st1
BPO 26280
Nosy @gvanrossum, @pitrou, @vstinner, @markshannon, @serhiy-storchaka, @1st1, @DimitrisJim, @pablogsal, @iritkatriel
PRs
  • bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter #27043
  • Files
  • 26280_stats.diff: quick and dirty counters for a few types
  • subscr_stats.txt
  • subscr1.patch
  • subscr2.patch: Removed tuple block, inlined a few things
  • 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 = <Date 2021-07-15.12:23:09.333>
    created_at = <Date 2016-02-03.17:02:18.525>
    labels = ['interpreter-core', '3.11', 'performance']
    title = 'ceval: Optimize list[int] (subscript) operation similarly to CPython 2.7'
    updated_at = <Date 2021-07-15.15:11:26.236>
    user = 'https://github.com/1st1'

    bugs.python.org fields:

    activity = <Date 2021-07-15.15:11:26.236>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-15.12:23:09.333>
    closer = 'iritkatriel'
    components = ['Interpreter Core']
    creation = <Date 2016-02-03.17:02:18.525>
    creator = 'yselivanov'
    dependencies = []
    files = ['41814', '41826', '41939', '42049']
    hgrepos = []
    issue_num = 26280
    keywords = ['patch']
    message_count = 25.0
    messages = ['259492', '259512', '259514', '259516', '259517', '259602', '259611', '259625', '259627', '259628', '259632', '259651', '259652', '259677', '259711', '260376', '260377', '260497', '261034', '396986', '396998', '396999', '397031', '397543', '397557']
    nosy_count = 10.0
    nosy_names = ['gvanrossum', 'pitrou', 'vstinner', 'Mark.Shannon', 'serhiy.storchaka', 'yselivanov', 'zbyrne', 'Jim Fasarakis-Hilliard', 'pablogsal', 'iritkatriel']
    pr_nums = ['27043']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue26280'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions