Skip to content

quadratic-time compilation in the number of 'and' or 'or' expressions #65722

@dalke

Description

@dalke
mannequin
BPO 21523
Nosy @brettcannon, @birkenfeld, @rhettinger, @ncoghlan, @pitrou, @benjaminp
Files
  • quadratic_shortcircuit_compilation.py: Demo quadratic-time compilation with 'and' expressions
  • stackdepth.patch
  • stackdepth2.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 2014-05-23.10:00:06.143>
    created_at = <Date 2014-05-18.12:31:45.846>
    labels = ['interpreter-core', 'performance']
    title = "quadratic-time compilation in the number of 'and' or 'or' expressions"
    updated_at = <Date 2014-05-23.10:00:06.142>
    user = 'https://bugs.python.org/dalke'

    bugs.python.org fields:

    activity = <Date 2014-05-23.10:00:06.142>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-23.10:00:06.143>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2014-05-18.12:31:45.846>
    creator = 'dalke'
    dependencies = []
    files = ['35279', '35315', '35316']
    hgrepos = []
    issue_num = 21523
    keywords = ['patch']
    message_count = 9.0
    messages = ['218742', '218886', '218889', '218907', '218909', '218911', '218922', '218955', '218956']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'georg.brandl', 'rhettinger', 'dalke', 'ncoghlan', 'pitrou', 'benjamin.peterson', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue21523'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    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