Skip to content

Consider using lru_cache for the re.py caches #72380

@rhettinger

Description

@rhettinger
BPO 28193
Nosy @rhettinger, @serhiy-storchaka
Files
  • re_repl_cache.diff: Swap the repl_cache with an lru_cache
  • 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-09-19.03:18:38.645>
    created_at = <Date 2016-09-17.20:06:04.764>
    labels = ['3.7', 'library', 'performance']
    title = 'Consider using lru_cache for the re.py caches'
    updated_at = <Date 2016-09-19.03:18:38.644>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2016-09-19.03:18:38.644>
    actor = 'rhettinger'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-09-19.03:18:38.645>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2016-09-17.20:06:04.764>
    creator = 'rhettinger'
    dependencies = []
    files = ['44731']
    hgrepos = []
    issue_num = 28193
    keywords = ['patch']
    message_count = 8.0
    messages = ['276832', '276838', '276869', '276911', '276913', '276918', '276928', '276932']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue28193'
    versions = ['Python 3.6', '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