Skip to content

Optimize unpickling list-like objects: use extend() instead of append() #73554

Description

@serhiy-storchaka
BPO 29368
Nosy @rhettinger, @gpshead, @pitrou, @vstinner, @avassalotti, @serhiy-storchaka
Files
  • pickle-appends-extend.patch
  • pickle-appends-extend-2.patch
  • pickle-appends-extend-3.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/serhiy-storchaka'
    closed_at = <Date 2017-02-02.10:00:20.573>
    created_at = <Date 2017-01-25.09:55:50.286>
    labels = ['3.7', 'library', 'performance']
    title = 'Optimize unpickling list-like objects: use extend() instead of append()'
    updated_at = <Date 2021-04-27.00:38:24.023>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-04-27.00:38:24.023>
    actor = 'gregory.p.smith'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-02-02.10:00:20.573>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2017-01-25.09:55:50.286>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['46412', '46421', '46484']
    hgrepos = []
    issue_num = 29368
    keywords = ['patch']
    message_count = 18.0
    messages = ['286237', '286242', '286243', '286248', '286250', '286297', '286318', '286691', '286701', '286702', '286705', '286735', '286751', '286753', '286754', '286755', '286758', '392010']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'pitrou', 'vstinner', 'alexandre.vassalotti', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue29368'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeperformancePerformance 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