Skip to content

Reduce the cost of hash collisions for set objects #62971

Closed
@rhettinger

Description

@rhettinger
BPO 18771
Nosy @rhettinger, @jcea, @vstinner, @taleinat, @tiran, @serhiy-storchaka
Files
  • so.diff: First draft patch for paired adjacent insertions
  • set_bench.py: Simple set benchmark
  • insert_clean.s: Annotated disassembly of set_insert_clean()
  • grind.txt: Cachegrind analysis detail
  • so2.diff: Second draft patch pair adjacent insertions
  • set_bench_smartcache.py: Revised benchmark for processors with Intel SmartCache
  • 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 2013-08-19.14:41:13.508>
    created_at = <Date 2013-08-17.18:57:58.292>
    labels = ['interpreter-core', 'performance']
    title = 'Reduce the cost of hash collisions for set objects'
    updated_at = <Date 2013-09-15.21:57:35.577>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2013-09-15.21:57:35.577>
    actor = 'python-dev'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2013-08-19.14:41:13.508>
    closer = 'rhettinger'
    components = ['Interpreter Core']
    creation = <Date 2013-08-17.18:57:58.292>
    creator = 'rhettinger'
    dependencies = []
    files = ['31345', '31349', '31350', '31352', '31361', '31372']
    hgrepos = []
    issue_num = 18771
    keywords = ['patch']
    message_count = 26.0
    messages = ['195506', '195511', '195520', '195524', '195526', '195529', '195531', '195532', '195533', '195539', '195543', '195544', '195551', '195571', '195572', '195619', '195620', '195621', '195622', '195623', '195633', '195635', '195636', '195637', '195644', '197837']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'jcea', 'vstinner', 'taleinat', 'christian.heimes', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue18771'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions