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-October/038971.html below:

[Python-Dev] in-line sort

[Python-Dev] in-line sort [Python-Dev] in-line sortRaymond Hettinger python at rcn.com
Sat Oct 18 13:53:17 EDT 2003
> I don't like the trick of avoiding the copy if the refcount is one;
> AFAIK it can't be done in Jython.

As Alex demonstrated, the time savings for an O(n) operation inside an
O(n log n) function is irrelevant anyway.


> I think the application area is too narrow to warrant a built-in,
> *and* lists shouldn't grow two similar methods.  Let's keep the
> language small!


Not to be hard headed here, but if dropped now, it will never
be considered again.  Did you have a chance to look at the 
rationale for change in my previous note and added in the
comments for the patch?  I think they offer some examples 
and reasons stronger than "saving a little typing":  
      www.python.org/sf/825814


Raymond


More information about the Python-Dev mailing list

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