Skip to content

Optimize bytes.upper() and lower() #57947

Closed

Description

@pitrou
BPO 13738
Nosy @pitrou, @vstinner, @benjaminp, @florentx
Files
  • bytesupper.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 2012-01-08.15:48:35.213>
    created_at = <Date 2012-01-08.14:49:18.353>
    labels = ['interpreter-core', 'performance']
    title = 'Optimize bytes.upper() and lower()'
    updated_at = <Date 2012-01-08.15:48:35.212>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2012-01-08.15:48:35.212>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-01-08.15:48:35.213>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2012-01-08.14:49:18.353>
    creator = 'pitrou'
    dependencies = []
    files = ['24175']
    hgrepos = []
    issue_num = 13738
    keywords = ['patch']
    message_count = 4.0
    messages = ['150868', '150869', '150872', '150874']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'vstinner', 'benjamin.peterson', 'flox', 'python-dev']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue13738'
    versions = ['Python 3.3']

    Activity

    1. pitrou commented on Jan 8, 2012

      @pitrou
      MemberAuthor

      The current implementation has useless testing and copying.

    2. added
      interpreter-core(Objects, Python, Grammar, and Parser dirs)
      performancePerformance or resource usage
      on Jan 8, 2012
    3. benjaminp commented on Jan 8, 2012

      @benjaminp
      Contributor

      LGTM.

    4. python-dev commented on Jan 8, 2012

      python-devmannequin
      Mannequin

      New changeset 9683d59170ee by Antoine Pitrou in branch 'default':
      Issue bpo-13738: Simplify implementation of bytes.lower() and bytes.upper().
      http://hg.python.org/cpython/rev/9683d59170ee

    5. pitrou commented on Jan 8, 2012

      @pitrou
      MemberAuthor

      Thanks.

    6. 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

      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