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/2004-January/041844.html below:

[Python-Dev] collections module

[Python-Dev] collections modulePhillip J. Eby pje at telecommunity.com
Fri Jan 9 09:55:49 EST 2004
At 01:25 PM 1/9/04 +0000, Moore, Paul wrote:
>What I was trying to say was that there are benefits to having an
>implementation in Python [1] (if that is possible). The key benefit
>of a C implementation seems to me to be that it is faster. That's
>fine, but it's important to have a balanced view - performance
>isn't overwhelmingly more important than other qualities.
>
>[1] For example:
>
>       - Maintainability
>       - Usefulness as an example of good coding practices (on
>         the assumption that we're after good *Python* practices,
>         rather than good C ones...)
>       - Accessibility for reference/documentation
>       - Reusability (maybe less so if the C version is designed
>         to allow subclassing)

Perhaps future debates on this issue could be put to bed by using 
Pyrex.  Granted, Pyrex is not actually Python.  But it's awfully close, and 
would certainly address the issue of making algorithms clearer than would 
be the case in a pure C version.  (It also automatically produces 
subclassable types.)


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