Skip to content

ceval.c: reintroduce fast-path for list[index] in BINARY_SUBSCR #70489

@vstinner

Description

@vstinner
BPO 26301
Nosy @rhettinger, @vstinner, @1st1
PRs
  • bpo-26301: Add a fast-path for list[index] in BINARY_SUBSCR opcode #9853
  • Superseder
  • bpo-26280: ceval: Optimize list[int] (subscript) operation similarly to CPython 2.7
  • Files
  • binary_subscr-2.patch
  • 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 2016-02-06.02:26:07.437>
    created_at = <Date 2016-02-06.01:40:39.239>
    labels = ['performance']
    title = 'ceval.c: reintroduce fast-path for list[index] in BINARY_SUBSCR'
    updated_at = <Date 2018-10-13.19:47:51.448>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2018-10-13.19:47:51.448>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-02-06.02:26:07.437>
    closer = 'vstinner'
    components = []
    creation = <Date 2016-02-06.01:40:39.239>
    creator = 'vstinner'
    dependencies = []
    files = ['41834']
    hgrepos = []
    issue_num = 26301
    keywords = ['patch']
    message_count = 4.0
    messages = ['259708', '259709', '259710', '259716']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'vstinner', 'yselivanov']
    pr_nums = ['9853']
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '26280'
    type = 'performance'
    url = 'https://bugs.python.org/issue26301'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions