Skip to content

Optimize namedtuple creation #72824

Closed
Closed
@methane

Description

@methane
BPO 28638
Nosy @gvanrossum, @rhettinger, @ncoghlan, @pitrou, @vstinner, @ericvsmith, @giampaolo, @methane, @serhiy-storchaka, @MojoVampire, @llllllllll, @zhangyangyu, @JelleZijlstra, @lazka, @ethanhs
PRs
  • bpo-28638: speed up namedtuple creation by avoiding exec #2736
  • bpo-28638: Optimize namedtuple() creation time by minimizing use of exec() #3454
  • Files
  • 28638-functools-no-namedtuple.patch
  • namedtuple-no-compile.patch
  • namedtuple1.py
  • namedtuple-clinic.diff
  • namedtuple-clinic2.diff
  • functools-CacheInfo-Makefile.patch
  • namedtuple-clinic3.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/rhettinger'
    closed_at = <Date 2017-09-10.17:25:13.282>
    created_at = <Date 2016-11-08.04:07:24.207>
    labels = ['3.7', 'library', 'performance']
    title = 'Optimize namedtuple creation'
    updated_at = <Date 2017-09-10.17:25:13.282>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2017-09-10.17:25:13.282>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2017-09-10.17:25:13.282>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2016-11-08.04:07:24.207>
    creator = 'methane'
    dependencies = []
    files = ['45386', '45388', '45399', '45578', '45580', '45724', '45738']
    hgrepos = []
    issue_num = 28638
    keywords = ['patch']
    message_count = 62.0
    messages = ['280277', '280279', '280282', '280283', '280284', '280285', '280288', '280291', '280297', '280298', '280300', '280303', '280356', '280543', '280560', '280561', '281336', '281339', '281356', '282172', '282178', '282182', '282278', '282279', '282412', '285615', '298400', '298444', '298453', '298457', '298482', '298485', '298486', '298487', '298488', '298489', '298490', '298491', '298493', '298499', '298500', '298503', '298514', '298515', '298566', '298570', '298571', '298574', '298581', '298601', '298630', '298631', '298637', '298641', '298648', '298653', '298670', '298681', '298730', '301700', '301804', '301819']
    nosy_count = 15.0
    nosy_names = ['gvanrossum', 'rhettinger', 'ncoghlan', 'pitrou', 'vstinner', 'eric.smith', 'giampaolo.rodola', 'methane', 'serhiy.storchaka', 'josh.r', 'llllllllll', 'xiang.zhang', 'JelleZijlstra', 'lazka', 'ethan smith']
    pr_nums = ['2736', '3454']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue28638'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifeperformancePerformance or resource usagestdlibPython modules in the Lib dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions