A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-April/035008.html below:

[Python-Dev] heaps

[Python-Dev] heapsRaymond Hettinger python@rcn.com
Thu, 24 Apr 2003 17:52:00 -0400
> I'd very much like to see the current heapq replaced with a different
> interface in time for 2.3.  I believe that an opaque object is better,
> since it allows more flexibility later.  

I'm quite pleased with the version already in CVS.  It is a small
masterpiece of exposition, sophistication, simplicity, and speed.
A class based interface is not necessary for every algorithm.

For the other approaches, what might be useful is to define an API
and leave it that.  The various implementations can be maintained
on Cookbook pages, the Vaults of Parnassus, or an SF project.

The min/max heap and fibonacci heaps are a great idea.  Nice work.


Raymond Hettinger



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4