Skip to content

BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts #50939

Closed
@alex

Description

@alex
BPO 6690
Nosy @rhettinger, @pitrou, @alex, @davidmalcolm
Files
  • simple-optimization-of-BUILD_SET-COMPARE_OP(IN)-to-LOAD_CONST(tuple)_COMPARE_OP(IN)-py3k.patch
  • simple-optimization-of-BUILD_SET-COMPARE_OP(IN)-to-LOAD_CONST(frozenset)_COMPARE_OP(IN)-py3k.patch
  • simple-optimization-of-BUILD_SET-COMPARE_OP(IN)-to-LOAD_CONST(frozenset)_COMPARE_OP(IN)-with-tests-py3k.patch
  • optimize-BUILD_SET-v4.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 2010-01-16.18:38:14.837>
    created_at = <Date 2009-08-12.21:32:06.485>
    labels = ['interpreter-core', 'performance']
    title = 'BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts'
    updated_at = <Date 2010-01-16.18:38:14.835>
    user = 'https://github.com/alex'

    bugs.python.org fields:

    activity = <Date 2010-01-16.18:38:14.835>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-01-16.18:38:14.837>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2009-08-12.21:32:06.485>
    creator = 'alex'
    dependencies = []
    files = ['15840', '15841', '15845', '15900']
    hgrepos = []
    issue_num = 6690
    keywords = ['patch']
    message_count = 14.0
    messages = ['91506', '91614', '91626', '94324', '97640', '97650', '97651', '97653', '97654', '97671', '97856', '97858', '97859', '97894']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'pitrou', 'alex', 'dmalcolm']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue6690'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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