Skip to content

Even faster UTF-8 decoding #59128

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 14923
Nosy @loewis, @jcea, @ronaldoussoren, @mdickinson, @pitrou, @vstinner, @ned-deily, @ezio-melotti, @serhiy-storchaka
Files
  • decode_utf8_signed_byte.patch: Two's complement representation trick
  • decodebench.py: Benchmark script
  • bench-diff.py: Benchmark results comparator
  • decode_utf8_range_check.patch: Simple range check
  • decode_utf8_signed_byte-2.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 = 'https://github.com/mdickinson'
    closed_at = <Date 2012-06-23.20:47:20.028>
    created_at = <Date 2012-05-26.09:11:07.273>
    labels = ['interpreter-core', 'expert-unicode', 'performance']
    title = 'Even faster UTF-8 decoding'
    updated_at = <Date 2012-06-23.21:10:43.852>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2012-06-23.21:10:43.852>
    actor = 'serhiy.storchaka'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2012-06-23.20:47:20.028>
    closer = 'mark.dickinson'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2012-05-26.09:11:07.273>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['25717', '25718', '25719', '25733', '26098']
    hgrepos = []
    issue_num = 14923
    keywords = ['patch']
    message_count = 17.0
    messages = ['161652', '161653', '161654', '161656', '161657', '161711', '161715', '161759', '163501', '163583', '163586', '163589', '163607', '163611', '163672', '163673', '163675']
    nosy_count = 12.0
    nosy_names = ['loewis', 'jcea', 'ronaldoussoren', 'mark.dickinson', 'janssen', 'pitrou', 'vstinner', 'ned.deily', 'ezio.melotti', 'Arfrever', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue14923'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions