Skip to content

optimize bytecode for conditional branches #48965

@pitrou

Description

@pitrou
BPO 4715
Nosy @rhettinger, @jcea, @pitrou
Files
  • condbranches-plus.patch: Aggregate patch for POP_JUMP_IF_TRUE, POP_JUMP_IF_FALSE, POP_OR_JUMP, JUMP_OR_POP
  • pybench.txt
  • condbranches.patch: Original patch for POP_JUMP_IF_TRUE, POP_JUMP_IF_FALSE
  • condbranches-plus2.patch: Updated patch with POP_JUMP_IF_TRUE, POP_JUMP_IF_FALSE, JUMP_IF_TRUE_OR_POP, JUMP_IF_FALSE_OR_POP
  • trunk-opt-cond-jump.patch: Backport to trunk
  • 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 2009-03-01.20:50:45.940>
    created_at = <Date 2008-12-21.22:58:05.131>
    labels = ['interpreter-core', 'performance']
    title = 'optimize bytecode for conditional branches'
    updated_at = <Date 2009-10-17.04:33:00.842>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2009-10-17.04:33:00.842>
    actor = 'esam'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-03-01.20:50:45.940>
    closer = 'jyasskin'
    components = ['Interpreter Core']
    creation = <Date 2008-12-21.22:58:05.131>
    creator = 'pitrou'
    dependencies = []
    files = ['12421', '12719', '12730', '13170', '13208']
    hgrepos = []
    issue_num = 4715
    keywords = ['patch']
    message_count = 21.0
    messages = ['78159', '78165', '79747', '79750', '79790', '79794', '79796', '79799', '79806', '79823', '79824', '79833', '79848', '79850', '82687', '82689', '82694', '82736', '82742', '82888', '82987']
    nosy_count = 7.0
    nosy_names = ['collinwinter', 'rhettinger', 'jcea', 'pitrou', 'jyasskin', 'blaisorblade', 'esam']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue4715'
    versions = ['Python 3.1', 'Python 2.7']

    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