Skip to content

Simplify and speed-up heaqp.nlargest() #65623

@rhettinger

Description

@rhettinger
BPO 21424
Nosy @tim-one, @rhettinger
Files
  • rid_nlargest.py: Fold all nlargest() work into pure Python
  • rip_nsmallest.diff: Draft patch for nsmallest()
  • 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-11.21:40:03.236>
    created_at = <Date 2014-05-04.05:57:09.808>
    labels = ['library', 'performance']
    title = 'Simplify and speed-up heaqp.nlargest()'
    updated_at = <Date 2014-05-11.21:40:03.235>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2014-05-11.21:40:03.235>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-11.21:40:03.236>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2014-05-04.05:57:09.808>
    creator = 'rhettinger'
    dependencies = []
    files = ['35148', '35213']
    hgrepos = []
    issue_num = 21424
    keywords = ['patch']
    message_count = 3.0
    messages = ['217859', '218254', '218300']
    nosy_count = 3.0
    nosy_names = ['tim.peters', 'rhettinger', 'python-dev']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue21424'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      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