[Patches] [ python-Patches-969791 ] heapq.nlargest

SourceForge.net noreply at sourceforge.net
Wed Jun 9 13:59:15 EDT 2004


Patches item #969791, was opened at 2004-06-09 12:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=969791&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Tim Peters (tim_one)
Summary: heapq.nlargest

Initial Comment:
This patch adds a function that encapsulates a principal 
use case for heaps, finding the n largest from a dataset 
without doing a full sort.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=969791&group_id=5470



More information about the Patches mailing list