Skip to content

Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers #69058

@methane

Description

@methane
BPO 24870
Nosy @vstinner, @ezio-melotti, @bitdancer, @methane, @serhiy-storchaka
Files
  • faster_surrogates_hadling.patch: Preliminary patch
  • faster-decode-ascii-surrogateescape.patch
  • faster-decode-ascii-surrogateescape.patch
  • bench.py
  • utf8.patch
  • utf8-2.patch
  • utf8-3.patch
  • bench_utf8.py
  • 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/serhiy-storchaka'
    closed_at = <Date 2016-10-06.07:45:27.609>
    created_at = <Date 2015-08-15.03:08:44.326>
    labels = ['expert-unicode', 'performance']
    title = 'Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers'
    updated_at = <Date 2016-10-06.07:45:27.608>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2016-10-06.07:45:27.608>
    actor = 'methane'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-10-06.07:45:27.609>
    closer = 'methane'
    components = ['Unicode']
    creation = <Date 2015-08-15.03:08:44.326>
    creator = 'methane'
    dependencies = []
    files = ['40183', '40195', '40429', '40539', '40540', '40544', '40545', '40546']
    hgrepos = []
    issue_num = 24870
    keywords = ['patch']
    message_count = 27.0
    messages = ['248631', '248632', '248636', '248638', '248658', '248660', '248717', '248820', '248832', '250409', '251269', '251270', '251276', '251277', '251294', '251296', '251299', '251517', '251521', '251529', '252059', '252118', '252662', '252664', '252738', '257688', '257689']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'ezio.melotti', 'r.david.murray', 'methane', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue24870'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions