Skip to content

html.escape 10x slower than cgi.escape #62220

@florentx

Description

@florentx
mannequin
BPO 18020
Nosy @akuchling, @orsenthil, @jwilk, @ezio-melotti, @florentx
Files
  • htmlescape.patch: Speed up html.escape()
  • 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/ezio-melotti'
    closed_at = <Date 2013-07-07.09:12:39.800>
    created_at = <Date 2013-05-20.08:21:38.319>
    labels = ['library', 'performance']
    title = 'html.escape 10x slower than cgi.escape'
    updated_at = <Date 2013-07-07.09:12:39.797>
    user = 'https://github.com/florentx'

    bugs.python.org fields:

    activity = <Date 2013-07-07.09:12:39.797>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-07-07.09:12:39.800>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2013-05-20.08:21:38.319>
    creator = 'flox'
    dependencies = []
    files = ['30325']
    hgrepos = []
    issue_num = 18020
    keywords = ['patch']
    message_count = 8.0
    messages = ['189641', '189643', '189644', '189647', '189711', '190267', '192527', '192528']
    nosy_count = 8.0
    nosy_names = ['akuchling', 'orsenthil', 'jwilk', 'ezio.melotti', 'grahamd', 'flox', 'python-dev', 'Teh Matt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue18020'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions