Skip to content

Avoid repeated hash calculation in C implementation of functools.lru_cache() #68671

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 24483
Nosy @rhettinger, @ncoghlan, @vstinner, @taleinat, @larryhastings, @meadori, @serhiy-storchaka, @1st1
Files
  • clru_cache_known_hash.patch
  • clru_cache_known_hash_2.patch
  • clru_cache_known_hash_3.patch
  • clru_cache_known_hash_4.patch
  • clru_cache_known_hash_5.larry.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 2015-10-02.10:16:19.873>
    created_at = <Date 2015-06-21.12:34:02.134>
    labels = ['library', 'performance']
    title = 'Avoid repeated hash calculation in C implementation of functools.lru_cache()'
    updated_at = <Date 2015-10-02.10:27:08.921>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-10-02.10:27:08.921>
    actor = 'vstinner'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2015-10-02.10:16:19.873>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-06-21.12:34:02.134>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['39758', '39761', '39766', '39773', '39785']
    hgrepos = []
    issue_num = 24483
    keywords = ['patch']
    message_count = 24.0
    messages = ['245593', '245601', '245604', '245619', '245623', '245627', '245645', '245646', '245672', '245720', '245733', '245754', '245755', '245775', '245799', '245813', '245933', '246111', '246715', '246974', '251777', '251832', '252100', '252105']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'ncoghlan', 'vstinner', 'taleinat', 'larry', 'meador.inge', 'python-dev', 'serhiy.storchaka', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue24483'
    versions = ['Python 3.5', 'Python 3.6']

    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