Skip to content

Decimal hashing very slow, could be cached #58683

@Jimbofbx

Description

@Jimbofbx
mannequin
BPO 14478
Nosy @rhettinger, @jcea, @amauryfa, @mdickinson, @pitrou, @skrah, @JimJJewett, @serhiy-storchaka
Files
  • CachingDecimal_example.py
  • cachedDecimal.py
  • decimal_hash.diff: Cache the decimal hash using a slot
  • decimal_hash_2.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 2012-11-25.14:02:33.586>
    created_at = <Date 2012-04-02.17:16:26.216>
    labels = ['library', 'performance']
    title = 'Decimal hashing very slow, could be cached'
    updated_at = <Date 2012-11-25.14:02:33.586>
    user = 'https://bugs.python.org/Jimbofbx'

    bugs.python.org fields:

    activity = <Date 2012-11-25.14:02:33.586>
    actor = 'mark.dickinson'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2012-11-25.14:02:33.586>
    closer = 'mark.dickinson'
    components = ['Library (Lib)']
    creation = <Date 2012-04-02.17:16:26.216>
    creator = 'Jimbofbx'
    dependencies = []
    files = ['25099', '25100', '25152', '25169']
    hgrepos = []
    issue_num = 14478
    keywords = ['patch']
    message_count = 27.0
    messages = ['157369', '157375', '157376', '157377', '157446', '157447', '157553', '157603', '157684', '157720', '157731', '157732', '157741', '157943', '157955', '157956', '157957', '157959', '157962', '157965', '157966', '157967', '157969', '157991', '163602', '163610', '176355']
    nosy_count = 11.0
    nosy_names = ['rhettinger', 'jcea', 'amaury.forgeotdarc', 'mark.dickinson', 'pitrou', 'skrah', 'Jimbofbx', 'python-dev', 'Ramchandra Apte', 'Jim.Jewett', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue14478'
    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