Skip to content

Specialize BINARY_ADD using PEP 659 machinery. #89108

Closed

Description

@markshannon
BPO 44945
Nosy @markshannon
PRs
  • bpo-44945: Specialize BINARY_ADD #27967
  • 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-08-27.08:57:30.218>
    created_at = <Date 2021-08-18.10:11:48.404>
    labels = []
    title = 'Specialize BINARY_ADD using PEP 659 machinery.'
    updated_at = <Date 2021-08-27.09:57:14.818>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-08-27.09:57:14.818>
    actor = 'Mark.Shannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-27.08:57:30.218>
    closer = 'Mark.Shannon'
    components = []
    creation = <Date 2021-08-18.10:11:48.404>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44945
    keywords = ['patch']
    message_count = 2.0
    messages = ['399830', '400402']
    nosy_count = 1.0
    nosy_names = ['Mark.Shannon']
    pr_nums = ['27967']
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue44945'
    versions = []

    Activity

    1. markshannon commented on Aug 18, 2021

      @markshannon
      MemberAuthor

      Specializing BINARY_ADD is worthwhile for two reasons:

      Specializing for ints, floats and strings may give us some small speedup.

      It removes the complex checks for the special case of extending a string, s = s + ... from the normal instruction to a specialized form.

    2. markshannon commented on Aug 27, 2021

      @markshannon
      MemberAuthor

      New changeset d3eaf0c by Mark Shannon in branch 'main':
      bpo-44945: Specialize BINARY_ADD (GH-27967)
      d3eaf0c

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions