Skip to content

Extend the PyDict C API to handle cases where the hash value is known #65300

@rhettinger

Description

@rhettinger
BPO 21101
Nosy @rhettinger, @terryjreedy, @pitrou, @alex, @bitdancer, @serhiy-storchaka, @MojoVampire
Files
  • known_hash.diff: Add two functions to dictobject
  • applied_known_hash.diff: Sample application to the collections module
  • double_counter_hash.py: Demonstrate unnecessary double hashing in a counter
  • 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 = None
    closed_at = <Date 2014-05-03.23:42:02.179>
    created_at = <Date 2014-03-30.08:47:09.553>
    labels = ['interpreter-core', 'type-feature']
    title = 'Extend the PyDict C API to handle cases where the hash value is known'
    updated_at = <Date 2014-05-03.23:42:02.178>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2014-05-03.23:42:02.178>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-03.23:42:02.179>
    closer = 'rhettinger'
    components = ['Interpreter Core']
    creation = <Date 2014-03-30.08:47:09.553>
    creator = 'rhettinger'
    dependencies = []
    files = ['34666', '34667', '34668']
    hgrepos = []
    issue_num = 21101
    keywords = ['patch']
    message_count = 16.0
    messages = ['215175', '215180', '215186', '215187', '215192', '215560', '215561', '215562', '215570', '215573', '215575', '215578', '216633', '216635', '217845', '217848']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'terry.reedy', 'pitrou', 'Arfrever', 'alex', 'r.david.murray', 'python-dev', 'serhiy.storchaka', 'josh.r']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21101'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions